mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: gen fn type declerations
This commit is contained in:
@@ -81,7 +81,7 @@ pub fn (p mut Parser) parse_fn_type(name string) table.Type {
|
||||
is_variadic: is_variadic
|
||||
return_type: return_type
|
||||
}
|
||||
idx := p.table.find_or_register_fn_type(func)
|
||||
idx := p.table.find_or_register_fn_type(func, false)
|
||||
return table.new_type(idx)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user