mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ast: minor cleanup in generic_insts_to_concrete() (#18349)
This commit is contained in:
parent
169627722a
commit
254ed1766c
@ -2084,8 +2084,6 @@ pub fn (mut t Table) generic_insts_to_concrete() {
|
|||||||
...parent_info
|
...parent_info
|
||||||
is_generic: false
|
is_generic: false
|
||||||
concrete_types: info.concrete_types.clone()
|
concrete_types: info.concrete_types.clone()
|
||||||
fields: fields
|
|
||||||
parent_type: new_type(info.parent_idx).set_flag(.generic)
|
|
||||||
}
|
}
|
||||||
sym.is_pub = true
|
sym.is_pub = true
|
||||||
sym.kind = parent.kind
|
sym.kind = parent.kind
|
||||||
|
Loading…
x
Reference in New Issue
Block a user