mirror of
https://github.com/Ed94/Odin.git
synced 2026-09-01 05:50:08 +00:00
Enforce explicit context definition for procedure calls
This commit is contained in:
@@ -281,6 +281,7 @@ Scope *create_scope_from_package(CheckerContext *c, AstPackage *pkg) {
|
||||
if (s->flags & (ScopeFlag_Init|ScopeFlag_Global)) {
|
||||
s->flags |= ScopeFlag_HasBeenImported;
|
||||
}
|
||||
s->flags |= ScopeFlag_ContextDefined;
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user