1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

new enum step 2

This commit is contained in:
Alexander Medvednikov
2019-11-06 06:26:04 +03:00
parent 4d876d1980
commit 8dd335295e
4 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ fn (p mut Parser) get_type2() Type {
name: f.typ_str()// 'fn (int, int) string'
mod: p.mod
func: f
cat: TypeCategory.func
cat: .func
}
p.table.register_type2(fn_typ)
return fn_typ