runtime mutable global state

This commit is contained in:
2026-07-03 21:48:23 +02:00
parent adf142736c
commit ee41a54e41
11 changed files with 569 additions and 40 deletions
+5
View File
@@ -1234,6 +1234,11 @@ declaration_conflicts :: proc(module: ^ast.Module, pkg: ast.Package_Id, name: sy
return true
}
}
type_id := types.find_named(&module.type_store, u32(pkg), u32(name))
type_item, type_ok := types.node(&module.type_store, type_id)
if type_ok && type_item.declared {
return true
}
return false
}