diff options
author | qunyanm <unknown> | 2016-03-31 09:10:34 -0700 |
---|---|---|
committer | qunyanm <unknown> | 2016-03-31 09:10:34 -0700 |
commit | 31ec9bc299901a1a85abbd091c3293af00354030 (patch) | |
tree | 827f7c47136afc013e1695300a00363eb0e870c1 /Source/Dafny/Resolver.cs | |
parent | 62eb04905d6dcb3ab0b6d7cbf1051c97fec01474 (diff) |
Fix issue 75. Adjust the fuel for existentials to use more fuel in an assume
context and less in an assert.
Diffstat (limited to 'Source/Dafny/Resolver.cs')
-rw-r--r-- | Source/Dafny/Resolver.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Dafny/Resolver.cs b/Source/Dafny/Resolver.cs index aa9ce148..b6e783b4 100644 --- a/Source/Dafny/Resolver.cs +++ b/Source/Dafny/Resolver.cs @@ -8173,6 +8173,7 @@ namespace Microsoft.Dafny e.Type = e.Body.Type;
} else if (expr is QuantifierExpr) {
var e = (QuantifierExpr)expr;
+ opts.codeContext.ContainsQuantifier = true;
Contract.Assert(e.SplitQuantifier == null); // No split quantifiers during resolution
int prevErrorCount = reporter.Count(ErrorLevel.Error);
bool _val = true;
|