Remove ast.FlagsTypeChecked

This commit is contained in:
Nigel Tao committed 2018-05-14 16:11:18 +10:00
1 parent 325488d92d
commit e00e71da7b
9 files changed
+23 -48

No files matched your search

+2 -2
View File
@@ -248,7 +248,7 @@ var reasons = [...]struct {
if xc0 == nil {
return errFailed
}
t1 := a.NewExpr(a.FlagsTypeChecked, t.IDXBinaryPlus, 0, 0, xb0.Node(), nil, xc0.Node(), nil)
t1 := a.NewExpr(0, t.IDXBinaryPlus, 0, 0, xb0.Node(), nil, xc0.Node(), nil)
if err := proveReasonRequirement(q, t.IDXBinaryLessThan, xa, t1); err != nil {
return err
}
@@ -273,7 +273,7 @@ var reasons = [...]struct {
return errFailed
}
// a <= (c - b)
t1 := a.NewExpr(a.FlagsTypeChecked, t.IDXBinaryMinus, 0, 0, xc.Node(), nil, xb.Node(), nil)
t1 := a.NewExpr(0, t.IDXBinaryMinus, 0, 0, xc.Node(), nil, xb.Node(), nil)
if err := proveReasonRequirement(q, t.IDXBinaryLessEq, xa, t1); err != nil {
return err
}