fix: reflect composed payload-free enum sums
This commit is contained in:
@@ -1731,6 +1731,9 @@ canonical_type :: proc(
|
||||
}
|
||||
if item.kind == .Alias {
|
||||
resolved := canonical_type(module, item.child, mapping, visiting)
|
||||
if types.is_valid(resolved) {
|
||||
module.type_store.nodes[index].child = resolved
|
||||
}
|
||||
mapping[index] = value if !types.is_valid(resolved) else resolved
|
||||
return mapping[index]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user