enums
This commit is contained in:
@@ -1325,6 +1325,11 @@ canonical_type :: proc(
|
||||
module.type_store.nodes[index].child = canonical_type(module, item.child, mapping, visiting)
|
||||
return value
|
||||
}
|
||||
if item.kind == .Enum {
|
||||
mapping[index] = value
|
||||
module.type_store.nodes[index].child = canonical_type(module, item.child, mapping, visiting)
|
||||
return value
|
||||
}
|
||||
if item.kind == .Struct || item.kind == .Union {
|
||||
mapping[index] = value
|
||||
fields := types.fields_for(&module.type_store, value)
|
||||
|
||||
Reference in New Issue
Block a user