summaryrefslogtreecommitdiff
path: root/Test/dafny0/Refinement.dfy
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2012-01-18 13:44:53 -0800
committerGravatar Rustan Leino <leino@microsoft.com>2012-01-18 13:44:53 -0800
commit7ffe46ca4bd9ff7c4ca0c0a550a841c6dc120875 (patch)
treeeef08ac9dc4db9efde0af86d180e6ec08d4212ec /Test/dafny0/Refinement.dfy
parent494e09b9a1fe9aaddb816ce7fd31bfe7cdbebfb2 (diff)
Dafny: improved error location for violations of function postconditions
Diffstat (limited to 'Test/dafny0/Refinement.dfy')
-rw-r--r--Test/dafny0/Refinement.dfy2
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;