mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Check "x as i32".
This commit is contained in:
1 parent
fa36ef76ec
commit
e10ddeb248
3 files changed
+63
-27
No files matched your search
@@ -13,8 +13,8 @@ func ExprString(m *t.IDMap, n *a.Expr) string {
|
||||
if n == nil {
|
||||
return ""
|
||||
}
|
||||
if v := n.ConstValue(); v != nil {
|
||||
return v.String()
|
||||
if n.ID0() == 0 {
|
||||
return m.ByID(n.ID1())
|
||||
}
|
||||
return "ExprString.TODO"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user