summaryrefslogtreecommitdiff
path: root/Test/dafny0
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2010-03-11 07:08:51 +0000
committerGravatar rustanleino <unknown>2010-03-11 07:08:51 +0000
commit12c5cf9976f7c4993db5b930bf8bce0b64c428a1 (patch)
tree8098c41bc31b6eab1556737ea916b132c88201ae /Test/dafny0
parent816e4934fa3acfefae2c44ccb2be931c4d65e037 (diff)
Dafny:
* Enforce ghost vs. non-ghost separation * Allow ghost parameters and ghost locals * Functions are ghost, but allow the non-ghost "function method"
Diffstat (limited to 'Test/dafny0')
-rw-r--r--Test/dafny0/TypeParameters.dfy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/dafny0/TypeParameters.dfy b/Test/dafny0/TypeParameters.dfy
index 680679d4..614c2185 100644
--- a/Test/dafny0/TypeParameters.dfy
+++ b/Test/dafny0/TypeParameters.dfy
@@ -5,7 +5,7 @@ class C<U> {
y := x;
}
- function F<X>(x: X, u: U): bool
+ function method F<X>(x: X, u: U): bool
{
x == x && u == u
}