diff options
author | qunyanm <unknown> | 2016-02-02 12:40:07 -0800 |
---|---|---|
committer | qunyanm <unknown> | 2016-02-02 12:40:07 -0800 |
commit | 2be514ca20e1478b6df02ef2b4c2725c319ac934 (patch) | |
tree | 87f0101c5a5c3f284cb81d2ccec706a60f321168 /Test/dafny3 | |
parent | e4da5fcd52bbdd0b8345056a3475333d6e27e65f (diff) |
Mark old "import A as B" syntax as deprecated. The new syntax is "import A : B"
Diffstat (limited to 'Test/dafny3')
-rw-r--r-- | Test/dafny3/CachedContainer.dfy.expect | 1 | ||||
-rw-r--r-- | Test/dafny3/GenericSort.dfy | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Test/dafny3/CachedContainer.dfy.expect b/Test/dafny3/CachedContainer.dfy.expect index c6c90498..0185aacd 100644 --- a/Test/dafny3/CachedContainer.dfy.expect +++ b/Test/dafny3/CachedContainer.dfy.expect @@ -1,2 +1,3 @@ +CachedContainer.dfy(120,25): Warning: "import A as B" has been deprecated; in the new syntax, it is "import A:B"
Dafny program verifier finished with 47 verified, 0 errors
diff --git a/Test/dafny3/GenericSort.dfy b/Test/dafny3/GenericSort.dfy index ea75c196..7555817c 100644 --- a/Test/dafny3/GenericSort.dfy +++ b/Test/dafny3/GenericSort.dfy @@ -17,7 +17,7 @@ abstract module TotalOrder { }
abstract module Sort {
- import O as TotalOrder // let O denote some module that has the members of TotalOrder
+ import O : TotalOrder // let O denote some module that has the members of TotalOrder
predicate Sorted(a: array<O.T>, low: int, high: int)
requires a != null && 0 <= low <= high <= a.Length
|