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

T4912.hs:10:10: warning:
    Orphan instance: instance [safe] 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:10: warning:
    Orphan instance: instance [safe] 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.