mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Add statusPkg arg to ast.NewExpr
This commit is contained in:
1 parent
139bcfa7f1
commit
1004d898d5
8 files changed
+35
-33
No files matched your search
@@ -289,7 +289,7 @@ func (q *checker) optimizeIOMethodAdvance(n *a.Expr, receiver *a.Expr, advance *
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
o := a.NewExpr(a.FlagsTypeChecked, 0, id, nil, nil, nil, nil)
|
||||
o := a.NewExpr(a.FlagsTypeChecked, 0, 0, id, nil, nil, nil, nil)
|
||||
o.SetConstValue(rcv)
|
||||
o.SetMType(typeExprIdeal)
|
||||
|
||||
@@ -298,7 +298,7 @@ func (q *checker) optimizeIOMethodAdvance(n *a.Expr, receiver *a.Expr, advance *
|
||||
}
|
||||
n.SetProvenNotToSuspend()
|
||||
|
||||
return a.NewExpr(x.Node().Raw().Flags(), t.IDXBinaryGreaterEq, 0, x.LHS(), nil, o.Node(), nil), nil
|
||||
return a.NewExpr(x.Node().Raw().Flags(), t.IDXBinaryGreaterEq, 0, 0, x.LHS(), nil, o.Node(), nil), nil
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user