diff options
author | Jason Koenig <unknown> | 2012-07-30 12:54:07 -0700 |
---|---|---|
committer | Jason Koenig <unknown> | 2012-07-30 12:54:07 -0700 |
commit | 096908b4bd4be630d7adf7448dea7eeb03e83d47 (patch) | |
tree | 84e8339ce6674338a07d44cd150fd18f5f715452 /Test/dafny0/Compilation.dfy | |
parent | 07cc86c1de92e885393058a24e1cbbb9301c0715 (diff) |
Dafny: updated test suite to new syntax
Diffstat (limited to 'Test/dafny0/Compilation.dfy')
-rw-r--r-- | Test/dafny0/Compilation.dfy | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/dafny0/Compilation.dfy b/Test/dafny0/Compilation.dfy index fe6eda47..c9545c93 100644 --- a/Test/dafny0/Compilation.dfy +++ b/Test/dafny0/Compilation.dfy @@ -73,9 +73,9 @@ module T refines S { }
}
module A {
- module X as S = T;
- module Y as S = T;
- module Z = T;
+ import X as S default T;
+ import Y as S default T;
+ import Z = T;
static method run() {
var x := new X.C;
x.m();
@@ -92,7 +92,7 @@ method NotMain() { ghost module S1 {
- module B as S = T;
+ import B as S default T;
static method do()
}
@@ -102,7 +102,7 @@ module T1 refines S1 { }
}
module A1 {
- module X as S1 = T1;
+ import X as S1 default T1;
static method run() {
X.do();
var x := new X.B.C;
|