mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
Type and bounds check "x | y | z".
This commit is contained in:
1 parent
eee67e083d
commit
e1be6d9582
6 files changed
+75
-33
No files matched your search
@@ -1118,7 +1118,7 @@ func (g *gen) writeExpr(n *a.Expr, rp replacementPolicy, pp parenthesesPolicy, d
|
||||
return err
|
||||
}
|
||||
case t.FlagsAssociativeOp:
|
||||
if err := g.writeExprAssociativeOp(n, rp, depth); err != nil {
|
||||
if err := g.writeExprAssociativeOp(n, rp, pp, depth); err != nil {
|
||||
return err
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user