Allow table base.u8 as a type

This commit is contained in:
Nigel Tao committed 2018-05-18 10:31:24 +10:00
1 parent 2301c763c3
commit eda326726a
10 files changed
+60 -27

No files matched your search

+4
View File
@@ -405,6 +405,10 @@ func (p *parser) parseTypeExpr() (*a.TypeExpr, error) {
case t.IDSlice:
decorator = t.IDSlice
p.src = p.src[1:]
case t.IDTable:
decorator = t.IDTable
p.src = p.src[1:]
}
if decorator != 0 {