runtime mutable global state
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user