summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/Dafny/Rewriter.cs1
-rw-r--r--Source/Dafny/Triggers/QuantifierSplitter.cs1
-rw-r--r--Source/Dafny/Triggers/QuantifiersCollector.cs1
3 files changed, 0 insertions, 3 deletions
diff --git a/Source/Dafny/Rewriter.cs b/Source/Dafny/Rewriter.cs
index 13b16066..2e18c4e6 100644
--- a/Source/Dafny/Rewriter.cs
+++ b/Source/Dafny/Rewriter.cs
@@ -89,7 +89,6 @@ namespace Microsoft.Dafny
internal class ForAllStmtVisitor : TopDownVisitor<bool>
{
protected override bool VisitOneStmt(Statement stmt, ref bool st) {
- Contract.Requires(stmt != null);
if (stmt is ForallStmt) {
ForallStmt s = (ForallStmt)stmt;
if (s.Kind == ForallStmt.ParBodyKind.Proof) {
diff --git a/Source/Dafny/Triggers/QuantifierSplitter.cs b/Source/Dafny/Triggers/QuantifierSplitter.cs
index e46b64fb..d0b2b430 100644
--- a/Source/Dafny/Triggers/QuantifierSplitter.cs
+++ b/Source/Dafny/Triggers/QuantifierSplitter.cs
@@ -115,7 +115,6 @@ namespace Microsoft.Dafny.Triggers {
}
protected override void VisitOneStmt(Statement stmt) {
- Contract.Requires(stmt != null);
if (stmt is ForallStmt) {
ForallStmt s = (ForallStmt)stmt;
if (s.ForallExpressions != null) {
diff --git a/Source/Dafny/Triggers/QuantifiersCollector.cs b/Source/Dafny/Triggers/QuantifiersCollector.cs
index 789e7614..b887435b 100644
--- a/Source/Dafny/Triggers/QuantifiersCollector.cs
+++ b/Source/Dafny/Triggers/QuantifiersCollector.cs
@@ -42,7 +42,6 @@ namespace Microsoft.Dafny.Triggers {
}
protected override bool VisitOneStmt(Statement stmt, ref bool st) {
- Contract.Requires(stmt != null);
if (stmt is ForallStmt) {
ForallStmt s = (ForallStmt)stmt;
if (s.ForallExpressions != null) {