diff options
author | leino <unknown> | 2014-12-02 14:04:53 -0800 |
---|---|---|
committer | leino <unknown> | 2014-12-02 14:04:53 -0800 |
commit | 682a34e72274aff3ef4ebcbe54244d1c2ca0ba2f (patch) | |
tree | 448289d84b91a081f7658710f0fcb9cc425805c8 /Test/dafny0/ResolutionErrors.dfy | |
parent | d5685d5afcd053a0bb2178425e1b1d12cd85eb52 (diff) |
Snapshot, to be continued
Diffstat (limited to 'Test/dafny0/ResolutionErrors.dfy')
-rw-r--r-- | Test/dafny0/ResolutionErrors.dfy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny0/ResolutionErrors.dfy b/Test/dafny0/ResolutionErrors.dfy index bb51b01f..2f340557 100644 --- a/Test/dafny0/ResolutionErrors.dfy +++ b/Test/dafny0/ResolutionErrors.dfy @@ -95,8 +95,8 @@ method TestNameResolution1() { // parameters match the signature of only one of those constructors)
var d3 := Abc.David(20, 40); // error: wrong number of parameters
var d4 := Rst.David(20, 40);
- var e := Eleanor;
- assert Tuv(e, this.Eleanor) == 10;
+ var e := Eleanor; // this resolves to the field, not the Abc datatype constructor
+ assert Tuv(Abc.Eleanor, e) == 10;
}
// --------------- ghost tests -------------------------------------
|