summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar leino <unknown>2015-03-13 11:36:14 -0700
committerGravatar leino <unknown>2015-03-13 11:36:14 -0700
commitafc332da8becf903fc1084fb37489938c81959bf (patch)
tree5ab0108de3b2aca4944c9f067ecfc2d4de0c69fb /Source
parent708970a6d1af5f6d9d28aaafbf0db5972bccf3bc (diff)
Fixed merge issues
Diffstat (limited to 'Source')
-rw-r--r--Source/Dafny/Resolver.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Dafny/Resolver.cs b/Source/Dafny/Resolver.cs
index 2af9729b..0a6690fb 100644
--- a/Source/Dafny/Resolver.cs
+++ b/Source/Dafny/Resolver.cs
@@ -5369,7 +5369,7 @@ namespace Microsoft.Dafny
} else {
ResolveUpdateStmt(update, specContextOnly, codeContext, errorCountBeforeCheckingLhs);
}
- ResolveAttributes(s.Attributes, new ResolveOpts(codeContext, true));
+ ResolveAttributes(s.Attributes, new ResolveOpts(codeContext, true, true));
}
/// <summary>
/// Resolve the RHSs and entire UpdateStmt (LHSs should already have been checked by the caller).
@@ -7066,7 +7066,7 @@ namespace Microsoft.Dafny
}
}
ResolveExpression(e.Body, opts);
- ResolveAttributes(e.Attributes, opts);
+ ResolveAttributes(e.Attributes, new ResolveOpts(opts, true));
scope.PopMarker();
expr.Type = e.Body.Type;