1
0
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:
yuyi 2023-06-05 21:46:23 +08:00 committed by GitHub
parent 169627722a
commit 254ed1766c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2084,8 +2084,6 @@ pub fn (mut t Table) generic_insts_to_concrete() {
...parent_info
is_generic: false
concrete_types: info.concrete_types.clone()
fields: fields
parent_type: new_type(info.parent_idx).set_flag(.generic)
}
sym.is_pub = true
sym.kind = parent.kind