X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Ftests%2Ftypecheck%2Fshould_compile%2Ftc045.stderr;h=6b2d62d09c38def5bd95840f13c751179c711fe3;hb=4c5f550b0089fba3490a1c08f78647e4f00ce81a;hp=e24e4f69034689da87a2c7df9ec32783987967ce;hpb=efb2325f880390412bec066b29aad1b4c77d0fb2;p=ghc-hetmet.git diff --git a/ghc/tests/typecheck/should_compile/tc045.stderr b/ghc/tests/typecheck/should_compile/tc045.stderr index e24e4f6..6b2d62d 100644 --- a/ghc/tests/typecheck/should_compile/tc045.stderr +++ b/ghc/tests/typecheck/should_compile/tc045.stderr @@ -1,11 +1,8 @@ ghc: module version changed to 1; reason: no old .hi file -_exports_ -ShouldSucceed B{:B :B op2} C{:C :C op1}; -_instances_ -instance _forall_ [$a] {B $a} => {B [$a]} = $dB0; -instance _forall_ [$a] => {C [$a]} = $dC0; -_declarations_ -1 $dB0 _:_ _forall_ [$a] {B $a, C [$a]} => {B [$a]} ;; -1 $dC0 _:_ _forall_ [$a] => {C [$a]} ;; -1 class {C $r3I} => B $r3I where {op2 :: $r3I -> $r3I -> $r3I} ; -1 class C $r3L where {op1 :: $r3L -> $r3L} ; +__export ShouldSucceed B{op2} C{op1}; +instance __forall [a] {B a} => {B [a]} = _gB_91_93; +instance __forall [a] => {C [a]} = _gC_91_93; +1 _gB_91_93 :: __forall [a] {B a, C [a]} => {B [a]} ; +1 _gC_91_93 :: __forall [a] => {C [a]} ; +1 class {C a} => B a where {op2 :: a -> a -> a} ; +1 class C a where {op1 :: a -> a} ;