summaryrefslogtreecommitdiff
path: root/Source/VCExpr/TypeErasurePremisses.cs
diff options
context:
space:
mode:
authorGravatar tabarbe <unknown>2010-08-19 22:26:50 +0000
committerGravatar tabarbe <unknown>2010-08-19 22:26:50 +0000
commit5b2dd6bd6caa5a3bad85907c844186c324da4278 (patch)
tree6bb372c28c0d5707ed8d922d086da7d6a52fb2e4 /Source/VCExpr/TypeErasurePremisses.cs
parent569162aad309729152bf364aa26e630e1163229f (diff)
Boogie: Removed and completed a task comment
Diffstat (limited to 'Source/VCExpr/TypeErasurePremisses.cs')
-rw-r--r--Source/VCExpr/TypeErasurePremisses.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/VCExpr/TypeErasurePremisses.cs b/Source/VCExpr/TypeErasurePremisses.cs
index cf0bcaa4..c36551d6 100644
--- a/Source/VCExpr/TypeErasurePremisses.cs
+++ b/Source/VCExpr/TypeErasurePremisses.cs
@@ -72,7 +72,7 @@ void ObjectInvariant()
// constructor to allow cloning
[NotDelayed]
internal TypeAxiomBuilderPremisses(TypeAxiomBuilderPremisses builder)
- : base(builder) {//TODO: Possible troublespot
+ : base(builder) {
Contract.Requires(builder != null);
TypeFunction = builder.TypeFunction;
Typed2UntypedFunctions =
@@ -321,6 +321,7 @@ Contract.Requires(cce.NonNullElements(extractors));
// Globally defined functions
private readonly IDictionary<Function/*!*/, UntypedFunction/*!*/>/*!*/ Typed2UntypedFunctions;
+ [ContractInvariantMethod]
void Typed2UntypedFunctionsInvariantMethod(){
Contract.Invariant(cce.NonNullElements(Typed2UntypedFunctions));}