summaryrefslogtreecommitdiff
path: root/Source/Concurrency/LinearSets.cs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2014-02-24 22:54:32 -0800
committerGravatar Rustan Leino <unknown>2014-02-24 22:54:32 -0800
commit9a172309c91360449dd6211b39b96fdff0a7d2d0 (patch)
tree54cc884e9f63c1e7dbe9167d50ab59b87ce8c4e7 /Source/Concurrency/LinearSets.cs
parentd9dc7b51a3c1af9177f5b70cf7425b1990d25e77 (diff)
(Fixed and) strengthened contracts of ReadOnlyVisitor. The postconditions of its methods now demand the return value to equal the given node.
Changed read-only visitors to extend from ReadOnlyVisitor instead of just StandardVisitor.
Diffstat (limited to 'Source/Concurrency/LinearSets.cs')
-rw-r--r--Source/Concurrency/LinearSets.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Concurrency/LinearSets.cs b/Source/Concurrency/LinearSets.cs
index 8408bf83..11e10e93 100644
--- a/Source/Concurrency/LinearSets.cs
+++ b/Source/Concurrency/LinearSets.cs
@@ -8,7 +8,7 @@ using System.Diagnostics;
namespace Microsoft.Boogie
{
- public class LinearEraser : StandardVisitor
+ public class LinearEraser : ReadOnlyVisitor
{
private QKeyValue RemoveLinearAttribute(QKeyValue iter)
{
@@ -31,7 +31,7 @@ namespace Microsoft.Boogie
CONST
}
- public class LinearTypeChecker : StandardVisitor
+ public class LinearTypeChecker : ReadOnlyVisitor
{
public Program program;
public int errorCount;