summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T6147.stderr
blob: 511a5c5376c2ddc825e57e0b1609b9cdfc60237d (plain)
1
2
3
4
5
6

T6147.hs:13:32: error: [GHC-18872]
    • Couldn't match type ‘Int’ with ‘Foo’
        arising from the coercion of the method ‘foo’
          from type ‘Int -> T Int’ to type ‘Foo -> T Foo’
    • When deriving the instance for (C Foo)