diff options
author | Dan Rosén <danr@chalmers.se> | 2014-08-11 14:57:27 -0700 |
---|---|---|
committer | Dan Rosén <danr@chalmers.se> | 2014-08-11 14:57:27 -0700 |
commit | 4cbe4583b329a39dee2b4b456758cafbe7e2fa79 (patch) | |
tree | 6bb2377f06036fd41d939d168365d4e47cc7a327 /Test/hofs/ResolveError.dfy.expect | |
parent | c377658acba5472b6d0c1e1452ce4c4c8f1fc28e (diff) |
Add higher-order-functions and some other goodies
* The reads clause now needs to be self framing.
* The requires clause now needs to be framed by the reads clause.
* There are one-shot lambdas, with a single arrow, but they will probably be
removed.
* There is a {:heapQuantifier} attribute to quantifiers, but they will
probably be removed.
* Add smart handling of type variables
* Add < and > for datatype & type parameter
Diffstat (limited to 'Test/hofs/ResolveError.dfy.expect')
-rw-r--r-- | Test/hofs/ResolveError.dfy.expect | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/hofs/ResolveError.dfy.expect b/Test/hofs/ResolveError.dfy.expect new file mode 100644 index 00000000..acc01b73 --- /dev/null +++ b/Test/hofs/ResolveError.dfy.expect @@ -0,0 +1,14 @@ +ResolveError.dfy(7,11): Error: the number of left-hand sides (1) and right-hand sides (2) must match for a multi-assignment
+ResolveError.dfy(8,11): Error: the number of left-hand sides (1) and right-hand sides (2) must match for a multi-assignment
+ResolveError.dfy(21,6): Error: LHS of assignment must denote a mutable field
+ResolveError.dfy(31,16): Error: arguments must have the same type (got int and bool)
+ResolveError.dfy(32,12): Error: cannot apply arguments with types int,int to expression with type int -> int
+ResolveError.dfy(33,12): Error: cannot apply arguments with types bool to expression with type int -> int
+ResolveError.dfy(34,13): Error: incorrect type of function argument 0 (expected int, got bool)
+ResolveError.dfy(35,25): Error: arguments must have the same type (got bool and int)
+ResolveError.dfy(36,13): Error: wrong number of function arguments (got 2, expected 1)
+ResolveError.dfy(37,13): Error: incorrect type of function argument 0 (expected int, got bool)
+ResolveError.dfy(38,22): Error: arguments must have the same type (got set<object> and int)
+ResolveError.dfy(39,13): Error: wrong number of function arguments (got 2, expected 1)
+ResolveError.dfy(49,9): Error: condition is expected to be of type bool, but is () -> bool
+13 resolution/type errors detected in ResolveError.dfy
|