Fix package usage with when on import #278

This commit is contained in:
gingerBill
2018-11-07 16:11:14 +00:00
parent 6659ceb551
commit f9654b6c36
3 changed files with 16 additions and 12 deletions
+4 -2
View File
@@ -122,8 +122,10 @@ struct AstPackage {
String fullpath;
Array<AstFile *> files;
Scope * scope; // NOTE(bill): Created in checker
DeclInfo *decl_info; // NOTE(bill): Created in checker
// NOTE(bill): Created/set in checker
Scope * scope;
DeclInfo *decl_info;
bool used;
};