Add statusPkg arg to ast.NewExpr

This commit is contained in:
Nigel Tao committed 2017-12-29 13:33:46 +11:00
1 parent 139bcfa7f1
commit 1004d898d5
8 files changed
+35 -33

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ func genProveReasonRequirement(n *node, name string) error {
fmt.Fprintf(&out, "if err := proveReasonRequirement(q, t.ID%s, %s, %s); err != nil { return err }\n",
key, l, r)
} else {
fmt.Fprintf(&out, "%s := a.NewExpr(a.FlagsTypeChecked, t.ID%s, 0, %s.Node(), nil, %s.Node(), nil)\n",
fmt.Fprintf(&out, "%s := a.NewExpr(a.FlagsTypeChecked, t.ID%s, 0, 0, %s.Node(), nil, %s.Node(), nil)\n",
name, key, l, r)
}
return nil