diff options
author | Rustan Leino <unknown> | 2014-07-11 20:50:08 -0700 |
---|---|---|
committer | Rustan Leino <unknown> | 2014-07-11 20:50:08 -0700 |
commit | a8161c0e52d9c1743679091c36f64e925723d607 (patch) | |
tree | 01d7b64cc2c85b81452e3aceba4318f6c1e68353 /Source/Dafny/RefinementTransformer.cs | |
parent | 92cced2f7bde488e450fa12f7ef50d98f474ab61 (diff) |
Added type synonyms. (No support yet for these in refinements.)
Diffstat (limited to 'Source/Dafny/RefinementTransformer.cs')
-rw-r--r-- | Source/Dafny/RefinementTransformer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Dafny/RefinementTransformer.cs b/Source/Dafny/RefinementTransformer.cs index 70fdae85..5ddcef55 100644 --- a/Source/Dafny/RefinementTransformer.cs +++ b/Source/Dafny/RefinementTransformer.cs @@ -429,6 +429,8 @@ namespace Microsoft.Dafny public static bool ResolvedTypesAreTheSame(Type prev, Type next) {
Contract.Requires(prev != null);
Contract.Requires(next != null);
+ prev = prev.NormalizeExpand();
+ next = next.NormalizeExpand();
if (prev is TypeProxy || next is TypeProxy)
return false;
|