Rmoved package
This commit is contained in:
@@ -15,7 +15,6 @@ pub fn walk_ast(top_scope: Arc<Scope>, tl: &mut Vec<parser::ast::TopLevel>) {
|
||||
for tl in tl {
|
||||
match tl {
|
||||
parser::ast::TopLevel::Import(_) => {}
|
||||
parser::ast::TopLevel::Package(_) => {}
|
||||
|
||||
parser::ast::TopLevel::FunctionDecl {
|
||||
params, body, name, ..
|
||||
|
||||
@@ -137,7 +137,6 @@ impl TopLevelSymbolScope {
|
||||
.imports
|
||||
.insert(json_scope.package_name.clone(), json_scope);
|
||||
}
|
||||
TopLevel::Package(_) => {}
|
||||
|
||||
TopLevel::FunctionDecl {
|
||||
export,
|
||||
|
||||
Reference in New Issue
Block a user