mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Check "var a [4]u8".
This commit is contained in:
1 parent
c1ce1b08de
commit
fa36ef76ec
2 files changed
+3
-1
No files matched your search
@@ -29,7 +29,7 @@ func TypeExprString(m *t.IDMap, n *a.TypeExpr) string {
|
||||
case t.IDPtr:
|
||||
return "ptr " + TypeExprString(m, n.Inner())
|
||||
case t.IDOpenBracket:
|
||||
// TODO.
|
||||
return "[" + ExprString(m, n.ArrayLength()) + "] " + TypeExprString(m, n.Inner())
|
||||
default:
|
||||
s = m.ByID(n.PackageOrDecorator()) + "." + m.ByID(n.Name())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user