diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail137.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail137.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail137.stderr b/testsuite/tests/typecheck/should_fail/tcfail137.stderr new file mode 100644 index 0000000000..9cbe69b98d --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail137.stderr @@ -0,0 +1,10 @@ + +tcfail137.hs:1:14: + Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. + +tcfail137.hs:8:5: + No instance for (Floating Bool) + arising from a use of `Test' + Possible fix: add an instance declaration for (Floating Bool) + In the expression: Test [False, True] + In an equation for `x': x = Test [False, True] |