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

T4912.hs:10:1: warning: [-Worphans]
    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]
    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.