Skip to content

Commit

Permalink
Merge pull request #1287 from JohanEngelen/patch-4
Browse files Browse the repository at this point in the history
Update spec after issue 6453
  • Loading branch information
CyberShadow committed May 1, 2016
2 parents ce40f54 + 6303d28 commit 672783b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/contracts.dd
Expand Up @@ -243,7 +243,7 @@ assert(&s); // check that struct S invariant holds
any class invariant is implicitly anded with the invariants of its base
classes.)

$(P There can be only one $(I Invariant) per class or struct.)
$(P There can be more than one $(D invariant) per class or struct.)

$(P When compiling for release, the invariant code is not generated, and the compiled program runs at maximum speed.
The compiler is free to assume the invariant holds true, regardless of whether code is generated for it or not, and
Expand Down

0 comments on commit 672783b

Please sign in to comment.