diff options
Diffstat (limited to 'Source/Dafny/Parser.cs')
-rw-r--r-- | Source/Dafny/Parser.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Dafny/Parser.cs b/Source/Dafny/Parser.cs index 57f4c46e..2fc50c37 100644 --- a/Source/Dafny/Parser.cs +++ b/Source/Dafny/Parser.cs @@ -1233,6 +1233,7 @@ List<Expression/*!*/>/*!*/ decreases) { x = t;
Expect(33);
QuantifierDomain(out bvars, out attrs, out range);
+ if (range == null) { range = new LiteralExpr(x, true); }
Expect(34);
while (la.kind == 29 || la.kind == 31) {
isFree = false;
|