mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: use the new types with old syntax (#6922)
This commit is contained in:
@@ -9,7 +9,7 @@ pub fn (b &Builder) generic_struct_insts_to_concrete() {
|
||||
if typ.kind == .generic_struct_inst {
|
||||
info := typ.info as table.GenericStructInst
|
||||
parent := b.table.types[info.parent_idx]
|
||||
mut parent_info := *(parent.info as table.Struct)
|
||||
mut parent_info := parent.info as table.Struct
|
||||
mut fields := parent_info.fields.clone()
|
||||
for i, _ in fields {
|
||||
mut field := fields[i]
|
||||
|
||||
Reference in New Issue
Block a user