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

new enum step 1

This commit is contained in:
Alexander Medvednikov
2019-11-06 06:16:12 +03:00
parent 855a736a2c
commit 4d876d1980
4 changed files with 9 additions and 9 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: .func
cat: TypeCategory.func
}
p.table.register_type2(fn_typ)
return fn_typ