diff options
author | RustanLeino <leino@microsoft.com> | 2016-02-12 16:59:30 -0800 |
---|---|---|
committer | RustanLeino <leino@microsoft.com> | 2016-02-12 16:59:30 -0800 |
commit | 97095f7642c262934cd04996d8283b46ec184dc3 (patch) | |
tree | 631e8142afba9462e27996ef4c624e6d2d344a1b /Source/VCExpr/TypeErasurePremisses.cs | |
parent | 5fb565e439255ede7dc3653708af41678b6c1062 (diff) | |
parent | 83f675b0b0124872cc343ba0f14984803ee6eb18 (diff) |
Merge pull request #30 from qunyanm/type-parameter-bug-fix
Bug fix in determining whether a type parameter is bounded
Diffstat (limited to 'Source/VCExpr/TypeErasurePremisses.cs')
-rw-r--r-- | Source/VCExpr/TypeErasurePremisses.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCExpr/TypeErasurePremisses.cs b/Source/VCExpr/TypeErasurePremisses.cs index 6077f327..dc9ad10f 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(bindings.TypeVariableBindings[var]))) newBoundVars.Add((VCExprVar)bindings.TypeVariableBindings[var]); } } |