Use "inv etc" not "assert etc" for invariants.

This commit is contained in:
Nigel Tao committed 2017-06-01 11:37:29 +10:00
1 parent 930ff53ff6
commit 47da01233b
5 files changed
+30 -22

No files matched your search

+2 -2
View File
@@ -219,8 +219,8 @@ func NewExpr(flags Flags, operator t.ID, nameLiteralSelector t.ID, lhs *Node, mh
}
}
// Assert is "assert RHS via ID1(args)", "pre etc" or "post etc":
// - ID0: <IDAssert|IDPre|IDPost>
// Assert is "assert RHS via ID1(args)", "pre etc", "inv etc" or "post etc":
// - ID0: <IDAssert|IDPre|IDInv|IDPost>
// - ID1: <string literal> reason
// - RHS: <Expr>
// - List0: <Arg> reason arguments