diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T2688.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T2688.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T2688.stderr b/testsuite/tests/typecheck/should_fail/T2688.stderr new file mode 100644 index 0000000000..de91620078 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/T2688.stderr @@ -0,0 +1,13 @@ + +T2688.hs:8:22: + Could not deduce (s ~ v) + from the context (VectorSpace v s) + bound by the class declaration for `VectorSpace' + at T2688.hs:(5,1)-(8,23) + `s' is a rigid type variable bound by + the class declaration for `VectorSpace' at T2688.hs:5:21 + `v' is a rigid type variable bound by + the class declaration for `VectorSpace' at T2688.hs:5:19 + In the second argument of `(/)', namely `s' + In the second argument of `(*^)', namely `(1 / s)' + In the expression: v *^ (1 / s) |