builder: generic struct fix - derive field type
parent
3436ae99fc
commit
7565fe595b
|
@ -19,7 +19,7 @@ pub fn (b &Builder) instantiate_generic_structs() {
|
||||||
}
|
}
|
||||||
for j, gp in parent_info.generic_types {
|
for j, gp in parent_info.generic_types {
|
||||||
if gp == field.typ {
|
if gp == field.typ {
|
||||||
field.typ = info.generic_types[j]
|
field.typ = info.generic_types[j].derive(field.typ).clear_flag(.generic)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue