diff options
author | Rustan Leino <unknown> | 2015-06-15 16:19:11 -0700 |
---|---|---|
committer | Rustan Leino <unknown> | 2015-06-15 16:19:11 -0700 |
commit | 58d639bff25a2d4dadf6febb81b1438e957c43cd (patch) | |
tree | 255610eee4a6f550dc4943278949bb95b2fe179a /Test/hofs | |
parent | 7f89a05ae627b7c5498b82deaea34cabc465aaa6 (diff) |
Do postponsed reads checking also for the body of functions -- see Test/dafny0/Reads.dfy for benefits.
(Unfortunately, this loses track of the "postcondition might not hold on this return path" locations, see Test/dafny0/FunctionSpecifications.dfy.)
Diffstat (limited to 'Test/hofs')
-rw-r--r-- | Test/hofs/Classes.dfy.expect | 6 | ||||
-rw-r--r-- | Test/hofs/Naked.dfy.expect | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Test/hofs/Classes.dfy.expect b/Test/hofs/Classes.dfy.expect index 880dcc47..21188d62 100644 --- a/Test/hofs/Classes.dfy.expect +++ b/Test/hofs/Classes.dfy.expect @@ -1,10 +1,10 @@ Classes.dfy(41,6): Error: possible violation of function precondition
Execution trace:
(0,0): anon0
- (0,0): anon12_Then
- (0,0): anon4
(0,0): anon13_Then
- (0,0): anon14_Else
+ (0,0): anon4
+ (0,0): anon14_Then
(0,0): anon15_Else
+ (0,0): anon16_Else
Dafny program verifier finished with 6 verified, 1 error
diff --git a/Test/hofs/Naked.dfy.expect b/Test/hofs/Naked.dfy.expect index a38dc560..b4dfc561 100644 --- a/Test/hofs/Naked.dfy.expect +++ b/Test/hofs/Naked.dfy.expect @@ -1,20 +1,20 @@ Naked.dfy(9,16): Error: cannot use naked function in recursive setting. Possible solution: eta expansion.
Execution trace:
(0,0): anon0
- (0,0): anon8_Else
(0,0): anon9_Else
- (0,0): anon10_Then
+ (0,0): anon10_Else
+ (0,0): anon11_Then
Naked.dfy(12,8): Error: cannot use naked function in recursive setting. Possible solution: eta expansion.
Execution trace:
(0,0): anon0
- (0,0): anon8_Else
(0,0): anon9_Else
(0,0): anon10_Else
+ (0,0): anon11_Else
Naked.dfy(17,53): Error: cannot use naked function in recursive setting. Possible solution: eta expansion.
Execution trace:
(0,0): anon0
- (0,0): anon6_Else
(0,0): anon7_Else
+ (0,0): anon8_Else
Naked.dfy(22,13): Error: cannot use naked function in recursive setting. Possible solution: eta expansion.
Execution trace:
(0,0): anon0
|