diff options
author | Rustan Leino <unknown> | 2013-03-06 15:09:04 -0800 |
---|---|---|
committer | Rustan Leino <unknown> | 2013-03-06 15:09:04 -0800 |
commit | 172554c51fad4092f2b4e52a921ad0e86fa67ca6 (patch) | |
tree | cc3c3430f1a379255f9c4990b26df1c21e06bd38 /Test/dafny1 | |
parent | d584ab2b4240b58cd4ef59e53b970a05d8d13f79 (diff) |
Renamed "parallel" statement to "forall" statement, and made the parentheses around the bound variables optional.
Diffstat (limited to 'Test/dafny1')
-rw-r--r-- | Test/dafny1/Queue.dfy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny1/Queue.dfy b/Test/dafny1/Queue.dfy index 0edfab81..8396ec5c 100644 --- a/Test/dafny1/Queue.dfy +++ b/Test/dafny1/Queue.dfy @@ -85,12 +85,12 @@ class Queue<T> { tail.next := n;
tail := n;
- parallel (m | m in spine) {
+ forall m | m in spine {
m.tailContents := m.tailContents + [t];
}
contents := head.tailContents;
- parallel (m | m in spine) {
+ forall m | m in spine {
m.footprint := m.footprint + n.footprint;
}
footprint := footprint + n.footprint;
|