6dfe21e0909de7b2aa2dcffab89891ecad57599e
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc045.stderr
1 ghc: module version changed to 1; reason: no old .hi file
2 _exports_
3 ShouldSucceed B(:B :B op2) C(:C :C op1);
4 _instances_
5 instance _forall_ [a] {B a} => {B [a]} = $dB0;
6 instance _forall_ [a] => {C [a]} = $dC0;
7 _declarations_
8 1 $dB0 _:_ _forall_ [a] {B a, C [a]} => {B [a]} ;;
9 1 $dC0 _:_ _forall_ [a] => {C [a]} ;;
10 1 class {C a} => B a where {op2 :: a -> a -> a} ;
11 1 class C a where {op1 :: a -> a} ;