summaryrefslogtreecommitdiff
path: root/Source/VCExpr/TypeErasurePremisses.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-07-23 10:48:24 -0700
committerGravatar wuestholz <unknown>2013-07-23 10:48:24 -0700
commitd9f68c9878b0a15d8da7108df211f4fd2f523434 (patch)
treecfb7a51640dcae7e671f551a6db4b9721114b54a /Source/VCExpr/TypeErasurePremisses.cs
parent34ff60de0ab0a05c85e6af50ed6d1a93805e040b (diff)
Minor fix
Diffstat (limited to 'Source/VCExpr/TypeErasurePremisses.cs')
-rw-r--r--Source/VCExpr/TypeErasurePremisses.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCExpr/TypeErasurePremisses.cs b/Source/VCExpr/TypeErasurePremisses.cs
index fc3d1214..d4b36b68 100644
--- a/Source/VCExpr/TypeErasurePremisses.cs
+++ b/Source/VCExpr/TypeErasurePremisses.cs
@@ -1115,7 +1115,7 @@ namespace Microsoft.Boogie.TypeErasure
if (typeVarBindings.Count < node.TypeParameters.Count) {
foreach (TypeVariable/*!*/ var in node.TypeParameters) {
Contract.Assert(var != null);
- if (typeVarBindings.All(b => b.V.Equals(var)))
+ if (typeVarBindings.All(b => !b.V.Equals(var)))
newBoundVars.Add((VCExprVar)bindings.TypeVariableBindings[var]);
}
}