Fix #561 where statements that eval to false do not show incorrect usage location

This commit is contained in:
gingerBill
2020-05-13 23:45:55 +01:00
parent d59fced21b
commit c2bfb221f5
3 changed files with 33 additions and 2 deletions
+1
View File
@@ -137,6 +137,7 @@ struct DeclInfo {
Ast * proc_lit; // Ast_ProcLit
Type * gen_proc_type; // Precalculated
bool is_using;
bool where_clauses_evaluated;
PtrSet<Entity *> deps;
PtrSet<Type *> type_info_deps;