diff options
author | Rustan Leino <leino@microsoft.com> | 2012-08-27 17:41:16 -0700 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2012-08-27 17:41:16 -0700 |
commit | 1608c9def153fd9199d1a0e7192c5dd42f20eab8 (patch) | |
tree | a27f963c95cb5616885cd5ea67abda0b5f463008 /Dafny/Resolver.cs | |
parent | f66983bb888a2edfc744cfafdb8fa32de1821d20 (diff) |
Dafny: fixed contract bug in resolver
Diffstat (limited to 'Dafny/Resolver.cs')
-rw-r--r-- | Dafny/Resolver.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dafny/Resolver.cs b/Dafny/Resolver.cs index c281aa4e..5879995a 100644 --- a/Dafny/Resolver.cs +++ b/Dafny/Resolver.cs @@ -2438,7 +2438,7 @@ namespace Microsoft.Dafny Contract.Requires(a.T == null && b.T == null);
Contract.Requires(a.OrderID <= b.OrderID);
//modifies a.T, b.T;
- Contract.Ensures(Contract.Result<bool>() || a.T != null || b.T != null);
+ Contract.Ensures(!Contract.Result<bool>() || a.T != null || b.T != null);
if (a is DatatypeProxy) {
if (b is DatatypeProxy) {
|