summaryrefslogtreecommitdiff
path: root/Test/dafny4/Bug117.dfy.expect
diff options
context:
space:
mode:
authorGravatar qunyanm <unknown>2016-01-08 11:08:12 -0800
committerGravatar qunyanm <unknown>2016-01-08 11:08:12 -0800
commit44b30341ed42c5348e860bb52c1940891068002b (patch)
tree449268bc16b89fc685a426e7e03ba88cd815de38 /Test/dafny4/Bug117.dfy.expect
parent4c4647bbd61883edee6f55d5dc37c9649d23af2e (diff)
Fix issue 117. Generate an error when the "opened" of an import doesn't match
between a module and its refinement base.
Diffstat (limited to 'Test/dafny4/Bug117.dfy.expect')
-rw-r--r--Test/dafny4/Bug117.dfy.expect3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/dafny4/Bug117.dfy.expect b/Test/dafny4/Bug117.dfy.expect
new file mode 100644
index 00000000..0c5a5445
--- /dev/null
+++ b/Test/dafny4/Bug117.dfy.expect
@@ -0,0 +1,3 @@
+Bug117.dfy(28,7): Error: AM1 in ConcreteModule2 must be imported with "opened" to match the corresponding import in its refinement base AbstractModule2.
+Bug117.dfy(33,7): Error: AM1 in ConcreteModule3 cannot be imported with "opened" because it does not match the corresponding import in the refinement base AbstractModule3
+2 resolution/type errors detected in Bug117.dfy