summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T4912.stderr
blob: 104275cddab86b544f5735527f25eb2eea2c491c (plain)
1
2
3
4
5
6
7
8
9
10
11
12

T4912.hs:10:1: warning: [-Worphans (in -Wall)]
    Orphan instance: instance Foo TheirData
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.

T4912.hs:13:1: warning: [-Worphans (in -Wall)]
    Orphan instance: instance Bar OurData
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.