summaryrefslogtreecommitdiff
path: root/Test/dafny3
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2012-10-22 02:18:51 -0700
committerGravatar Rustan Leino <leino@microsoft.com>2012-10-22 02:18:51 -0700
commit2541e9de002267359897bf967755172fcc726512 (patch)
tree43fcf2056a460973bb4619e2ac1d060343bd28bc /Test/dafny3
parentaba7928452a9043ab1cc6f4fd2e0dda4e2273508 (diff)
renamed "abstract module" to "module facade"
renamed "ghost module" to "abstract module", adding a keyword "abstract"
Diffstat (limited to 'Test/dafny3')
-rw-r--r--Test/dafny3/CachedContainer.dfy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/dafny3/CachedContainer.dfy b/Test/dafny3/CachedContainer.dfy
index 9bde80da..6ac5ff2f 100644
--- a/Test/dafny3/CachedContainer.dfy
+++ b/Test/dafny3/CachedContainer.dfy
@@ -1,5 +1,5 @@
-// give the method signatures and specs
-ghost module M0 {
+// give the method signatures and specs
+abstract module M0 {
class {:autocontracts} Container<T(==)> {
ghost var Contents: set<T>;
predicate Valid()
@@ -16,7 +16,7 @@ ghost module M0 {
}
// provide bodies for the methods
-ghost module M1 refines M0 {
+abstract module M1 refines M0 {
class Container<T(==)> {
constructor... {
Contents := {};