Skip to content
Snippets Groups Projects
Commit 05ebcc88 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

also allow TypeInv as invariant definition

parent 00cf8d22
No related branches found
No related tags found
No related merge requests found
...@@ -124,6 +124,8 @@ public class SpecAnalyser extends BuiltInOPs implements ASTConstants, ToolGlobal ...@@ -124,6 +124,8 @@ public class SpecAnalyser extends BuiltInOPs implements ASTConstants, ToolGlobal
specAnalyser.invariants.add(definitions.get("Invariant")); specAnalyser.invariants.add(definitions.get("Invariant"));
} else if (definitions.containsKey("Invariants")) { } else if (definitions.containsKey("Invariants")) {
specAnalyser.invariants.add(definitions.get("Invariants")); specAnalyser.invariants.add(definitions.get("Invariants"));
} else if (definitions.containsKey("TypeInv")) {
specAnalyser.invariants.add(definitions.get("TypeInv"));
} }
// TODO are constant in the right order // TODO are constant in the right order
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment