Package
This commit is contained in:
@@ -15,6 +15,7 @@ pub fn walk_ast(top_scope: Arc<Scope>, tl: &mut Vec<parser::ast::TopLevel>) {
|
||||
for tl in tl {
|
||||
match tl {
|
||||
parser::ast::TopLevel::Import(_) => unimplemented!(),
|
||||
parser::ast::TopLevel::Package(_) => {}
|
||||
|
||||
parser::ast::TopLevel::FunctionDecl {
|
||||
params, body, name, ..
|
||||
|
||||
@@ -112,6 +112,7 @@ impl TopLevelSymbolScope {
|
||||
for top in top_level {
|
||||
match top {
|
||||
TopLevel::Import(_) => unimplemented!(),
|
||||
TopLevel::Package(_) => {}
|
||||
|
||||
TopLevel::FunctionDecl {
|
||||
export,
|
||||
|
||||
Reference in New Issue
Block a user