diff options
author | Unknown <leino@LEINO6.redmond.corp.microsoft.com> | 2012-10-17 14:32:37 -0700 |
---|---|---|
committer | Unknown <leino@LEINO6.redmond.corp.microsoft.com> | 2012-10-17 14:32:37 -0700 |
commit | 6b2c5f3b96c5e0c97a42cfcc09807e9fe10c7231 (patch) | |
tree | 529db48980d7e382c960b3d5ac1134c6b9425b36 /Source | |
parent | d5a7eb5225cf004a89a5d433d020f04d5d552fb7 (diff) |
Included "all cases of a datatype" property for method in-parameters (see http://boogie.codeplex.com/discussions/397616).
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Dafny/Translator.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Dafny/Translator.cs b/Source/Dafny/Translator.cs index 0130ebab..a928f8a4 100644 --- a/Source/Dafny/Translator.cs +++ b/Source/Dafny/Translator.cs @@ -5883,12 +5883,10 @@ namespace Microsoft.Dafny { var p = FunctionCall(tok, "$IsGoodSet", Bpl.Type.Bool, x, ex);
r = r == null ? p : BplAnd(r, p);
}
-#if LATER_MAYBE
} else if (type.IsDatatype) {
UserDefinedType udt = (UserDefinedType)type;
var oneOfTheCases = FunctionCall(tok, "$IsA#" + udt.ResolvedClass.FullCompileName, Bpl.Type.Bool, x);
r = BplAnd(r, oneOfTheCases);
-#endif
}
return r;
}
|