diff options
author | Dan Rosén <danr@chalmers.se> | 2014-08-12 14:44:55 -0700 |
---|---|---|
committer | Dan Rosén <danr@chalmers.se> | 2014-08-12 14:44:55 -0700 |
commit | e2d1b7891526c90e26a790a9783aed8f69a57450 (patch) | |
tree | 986d95d64662104c8eac9a5321ea7e99faedc665 /Test/hofs/Renaming.dfy | |
parent | 8797f054f44d114147562689d80c9970d8ea4f82 (diff) |
Compile lambda functions and apply expressions, and change let expr compilation
Diffstat (limited to 'Test/hofs/Renaming.dfy')
-rw-r--r-- | Test/hofs/Renaming.dfy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/hofs/Renaming.dfy b/Test/hofs/Renaming.dfy index 7a3f69a5..8a2dc03a 100644 --- a/Test/hofs/Renaming.dfy +++ b/Test/hofs/Renaming.dfy @@ -1,4 +1,4 @@ -// RUN: %dafny /compile:0 "%s" > "%t" +// RUN: %dafny "%s" > "%t" // RUN: %diff "%s.expect" "%t" function OnId(f : (bool -> bool) -> int) : int @@ -16,9 +16,9 @@ method Equal() { } method K<A,B>(P : (A -> A) -> bool) + requires P.requires(x => x); + requires P(y => y); { - assume P.requires(x => x); - assume P(y => y); assert P(z => z); assert (x => y => x) == ((a : A) => (b : B) => a); } |