diff options
author | Unknown <leino@LEINO6.redmond.corp.microsoft.com> | 2012-06-14 18:33:12 -0700 |
---|---|---|
committer | Unknown <leino@LEINO6.redmond.corp.microsoft.com> | 2012-06-14 18:33:12 -0700 |
commit | 08ba4cd2f145ea1856681d1c88a2fe8f849cc2a7 (patch) | |
tree | d38231cf043220107ee929cc5278c0a5154226eb /Test/dafny0/Predicates.dfy | |
parent | 4a62b151ddc258ef710d8faee675df58df73e3f9 (diff) |
Dafny: in compiler, respect C#'s different scoping rules and lack of support for special characters in identifiers
Diffstat (limited to 'Test/dafny0/Predicates.dfy')
-rw-r--r-- | Test/dafny0/Predicates.dfy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny0/Predicates.dfy b/Test/dafny0/Predicates.dfy index f8569b3a..146129b5 100644 --- a/Test/dafny0/Predicates.dfy +++ b/Test/dafny0/Predicates.dfy @@ -79,7 +79,7 @@ module Tight refines Loose { }
module UnawareClient imports Loose {
- method Main() {
+ method Main0() {
var n := new MyNumber.Init();
assert n.N == 0; // error: this is not known
n.Inc();
@@ -90,7 +90,7 @@ module UnawareClient imports Loose { }
module AwareClient imports Tight {
- method Main() {
+ method Main1() {
var n := new MyNumber.Init();
assert n.N == 0;
n.Inc();
|