summaryrefslogtreecommitdiff
path: root/Dafny/Resolver.cs
diff options
context:
space:
mode:
authorGravatar Unknown <leino@LEINO6.redmond.corp.microsoft.com>2012-06-22 19:20:09 -0700
committerGravatar Unknown <leino@LEINO6.redmond.corp.microsoft.com>2012-06-22 19:20:09 -0700
commit873e10000dce92eaa81e24f7975e46c7cbddf185 (patch)
treecc7f199ee86ac1024b92c48f152cefa7bf9160cc /Dafny/Resolver.cs
parenta8b683a3601b8fe482ed739b6fc462c2ce3c10c5 (diff)
Dafny: mark code for equality-support determination tentative
Diffstat (limited to 'Dafny/Resolver.cs')
-rw-r--r--Dafny/Resolver.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dafny/Resolver.cs b/Dafny/Resolver.cs
index 4b67a209..48916478 100644
--- a/Dafny/Resolver.cs
+++ b/Dafny/Resolver.cs
@@ -1047,6 +1047,7 @@ namespace Microsoft.Dafny {
Contract.Requires(startingPoint != null);
Contract.Requires(dependencies != null); // more expensive check: Contract.Requires(cce.NonNullElements(dependencies));
+#if SOON
var scc = dependencies.GetSCC(startingPoint);
// First, the simple case: If any parameter of any inductive datatype in the SCC is of a codatatype type, then
// the whole SCC is incapable of providing the equality operation.
@@ -1134,6 +1135,7 @@ namespace Microsoft.Dafny {
foreach (var dt in scc) {
dt.EqualitySupport = IndDatatypeDecl.ES.ConsultTypeArguments;
}
+#endif
}
void ResolveAttributes(Attributes attrs, bool twoState) {