summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail137.stderr
blob: 9cbe69b98de1758bfa1d91aa32584dab3bc50865 (plain)
1
2
3
4
5
6
7
8
9
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]