mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Use "inv etc" not "assert etc" for invariants.
This commit is contained in:
1 parent
930ff53ff6
commit
47da01233b
5 files changed
+30
-22
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user