summaryrefslogtreecommitdiff
path: root/Test/dafny0/UserSpecifiedTypeParameters.dfy.expect
diff options
context:
space:
mode:
authorGravatar leino <unknown>2014-12-09 11:27:59 -0800
committerGravatar leino <unknown>2014-12-09 11:27:59 -0800
commit22ea901b086b05385d98019ee9eefdab97652499 (patch)
tree284a6c4a06e9a3fc07dc0ee0f96b61ff58726986 /Test/dafny0/UserSpecifiedTypeParameters.dfy.expect
parentd0519ffb24c23198269a0bff1f8ed20e7c1b3f5a (diff)
Allow user-specified type parameters
Diffstat (limited to 'Test/dafny0/UserSpecifiedTypeParameters.dfy.expect')
-rw-r--r--Test/dafny0/UserSpecifiedTypeParameters.dfy.expect9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/dafny0/UserSpecifiedTypeParameters.dfy.expect b/Test/dafny0/UserSpecifiedTypeParameters.dfy.expect
new file mode 100644
index 00000000..12970e85
--- /dev/null
+++ b/Test/dafny0/UserSpecifiedTypeParameters.dfy.expect
@@ -0,0 +1,9 @@
+UserSpecifiedTypeParameters.dfy(27,12): Error: the type of this variable is underspecified
+UserSpecifiedTypeParameters.dfy(27,26): Error: type variable 'T' in the function call to 'H' could not be determined
+UserSpecifiedTypeParameters.dfy(27,26): Error: type variable 'U' in the function call to 'H' could not be determined
+UserSpecifiedTypeParameters.dfy(48,22): Error: Undeclared top-level type or type parameter: b (did you forget to qualify a name?)
+UserSpecifiedTypeParameters.dfy(48,26): Error: Undeclared top-level type or type parameter: c (did you forget to qualify a name?)
+UserSpecifiedTypeParameters.dfy(48,18): Error: variable 'a' does not take any type parameters
+UserSpecifiedTypeParameters.dfy(48,30): Error: non-function expression (of type int) is called with parameters
+UserSpecifiedTypeParameters.dfy(48,16): Error: wrong number of arguments to function application (function 'F' expects 2, got 1)
+8 resolution/type errors detected in UserSpecifiedTypeParameters.dfy