mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Allow table base.u8 as a type
This commit is contained in:
1 parent
2301c763c3
commit
eda326726a
10 files changed
+60
-27
No files matched your search
@@ -234,6 +234,9 @@ func (n *TypeExpr) appendStr(buf []byte, tm *t.Map, depth uint32) []byte {
|
||||
case t.IDSlice:
|
||||
buf = append(buf, "slice "...)
|
||||
return n.Inner().appendStr(buf, tm, depth)
|
||||
case t.IDTable:
|
||||
buf = append(buf, "table "...)
|
||||
return n.Inner().appendStr(buf, tm, depth)
|
||||
case t.IDFunc:
|
||||
buf = append(buf, "func "...)
|
||||
if r := n.Receiver(); r != nil {
|
||||
|
||||
Reference in new issue
Block a user