diff options
author | Rustan Leino <leino@microsoft.com> | 2012-01-18 13:44:53 -0800 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2012-01-18 13:44:53 -0800 |
commit | 7ffe46ca4bd9ff7c4ca0c0a550a841c6dc120875 (patch) | |
tree | eef08ac9dc4db9efde0af86d180e6ec08d4212ec /Test/dafny0/Refinement.dfy | |
parent | 494e09b9a1fe9aaddb816ce7fd31bfe7cdbebfb2 (diff) |
Dafny: improved error location for violations of function postconditions
Diffstat (limited to 'Test/dafny0/Refinement.dfy')
-rw-r--r-- | Test/dafny0/Refinement.dfy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/dafny0/Refinement.dfy b/Test/dafny0/Refinement.dfy index d99ffdc9..280227f1 100644 --- a/Test/dafny0/Refinement.dfy +++ b/Test/dafny0/Refinement.dfy @@ -88,7 +88,7 @@ module SomeBody refines BodyFree { module FullBodied refines BodyFree { function F(x: int): int - { x } // error: does not meet the inherited postcondition (note, confusing error-message location) + { x } // error: does not meet the inherited postcondition method M() returns (a: int, b: int) { // error: does not establish postcondition a := b + 1; |