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
-2
View File
@@ -477,7 +477,6 @@ struct Checker {
CheckerInfo info;
Array<ProcInfo> procs_to_check;
PtrSet<AstPackage *> checked_packages;
gbAllocator allocator;
CheckerContext init_ctx;
@@ -498,7 +497,6 @@ HashKey hash_type (Type *t) { return hash_pointer(t); }
HashKey hash_decl_info(DeclInfo *decl) { return hash_pointer(decl); }
// CheckerInfo API
TypeAndValue type_and_value_of_expr (Ast *expr);
Type * type_of_expr (Ast *expr);