X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Ftests%2Ftypecheck%2Fshould_compile%2Ftc054.stderr;h=ee2f112abfc0512d615e4e8d147f17419ba3982c;hb=0a85c215d884ec5fea00c323aa8d25345f9e53bc;hp=ba087b903c09f78a7e09c3d57bc4e5e17654099f;hpb=26e677fd40e5dd967f0271a9232dfd5e3cd1ee29;p=ghc-hetmet.git diff --git a/ghc/tests/typecheck/should_compile/tc054.stderr b/ghc/tests/typecheck/should_compile/tc054.stderr index ba087b9..ee2f112 100644 --- a/ghc/tests/typecheck/should_compile/tc054.stderr +++ b/ghc/tests/typecheck/should_compile/tc054.stderr @@ -1,18 +1,9 @@ ghc: module version changed to 1; reason: no old .hi file -_interface_ ShouldSucceed 1 -_instance_modules_ -IO PrelAddr PrelArr PrelBounded PrelCCall PrelForeign PrelNum -_usages_ -PrelBase 1 :: $d1 1 $d10 1 $d13 1 $d15 1 $d2 1 $d21 1 $d26 1 $d27 1 $d29 1 $d3 1 $d30 1 $d31 1 $d33 1 $d34 1 $d36 1 $d38 1 $d4 1 $d42 1 $d7 1 $d8 1 $m- 1 $m/= 1 $mfromInt 1 $mshowList 1 otherwise 1 Eq 1 Eval 1 Num 1 Show 1 String 1; -PrelNum 1 :: $d10 1 $d16 1 $d18 1 $d29 1 $d33 1 $d35 1; -_exports_ -ShouldSucceed f Eq'(:Eq' :Eq' doubleeq) Ord'(:Ord' :Ord' lt); -_instances_ -instance {Ord' PrelBase.Int} = $d1; -instance {Eq' PrelBase.Int} = $d2; -_declarations_ -1 $d1 _:_ {Ord' PrelBase.Int} ;; -1 $d2 _:_ {Eq' PrelBase.Int} ;; -1 class Eq' a where {doubleeq :: a -> a -> PrelBase.Bool} ; -1 class {Eq' a} => Ord' a where {lt :: a -> a -> PrelBase.Bool} ; -1 f _:_ _forall_ [a b] {Ord' b, PrelBase.Num b} => b -> a -> PrelBase.Bool ;; +__export ShouldSucceed Eqzq{doubleeq} Ordzq{lt} f; +instance {Eqzq PrelBase.Int} = zdfEqzqInt; +instance {Ordzq PrelBase.Int} = zdfOrdzqInt; +1 class Eqzq a where {doubleeq :: a -> a -> PrelBase.Bool} ; +1 class {Eqzq a} => Ordzq a where {lt :: a -> a -> PrelBase.Bool} ; +1 f :: __forall [t a] => {PrelNum.Num a} -> {Ordzq a} -> a -> t -> PrelBase.Bool ; +1 zdfEqzqInt :: {Eqzq PrelBase.Int} ; +1 zdfOrdzqInt :: {Ordzq PrelBase.Int} ;