mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-26 07:25:00 -07: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