mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v2: fix type f fn...
This commit is contained in:
parent
c51f464446
commit
bb6098e2d3
@ -1760,7 +1760,7 @@ fn (p mut Parser) type_decl() ast.TypeDecl {
|
||||
}
|
||||
}
|
||||
else {
|
||||
p.check_name()
|
||||
p.parse_type()
|
||||
}
|
||||
p.table.register_type_symbol(table.TypeSymbol{
|
||||
kind: .sum_type
|
||||
|
Loading…
Reference in New Issue
Block a user