mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix generics with multi generics struct receiver (#9853)
This commit is contained in:
@@ -299,6 +299,7 @@ fn (mut p Parser) struct_decl() ast.StructDecl {
|
||||
is_typedef: attrs.contains('typedef')
|
||||
is_union: is_union
|
||||
is_heap: attrs.contains('heap')
|
||||
is_generic: generic_types.len > 0
|
||||
generic_types: generic_types
|
||||
attrs: attrs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user