diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T18406b.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T18406b.stderr | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T18406b.stderr b/testsuite/tests/typecheck/should_compile/T18406b.stderr new file mode 100644 index 0000000000..4f7a47ea0e --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/T18406b.stderr @@ -0,0 +1,54 @@ +TYPE SIGNATURES + foo :: forall a b. C a b => a -> b -> a + op :: forall a b. C a b => a -> a +TYPE CONSTRUCTORS + class C{2} :: * -> * -> Constraint +COERCION AXIOMS + axiom Bug.N:C :: forall a b. C a b = a -> a +Dependent modules: [] +Dependent packages: [base-4.16.0.0] + +==================== Typechecker ==================== +Bug.$tcC + = GHC.Types.TyCon + 12754692886077552850##64 18375870125396612007##64 Bug.$trModule + (GHC.Types.TrNameS "C"#) 0# $krep +Bug.$tc'C:C + = GHC.Types.TyCon + 302756782745842909##64 14248103394115774781##64 Bug.$trModule + (GHC.Types.TrNameS "'C:C"#) 2# $krep +$krep [InlPrag=[~]] = GHC.Types.KindRepVar 0 +$krep [InlPrag=[~]] = GHC.Types.KindRepVar 1 +$krep [InlPrag=[~]] = GHC.Types.KindRepFun $krep $krep +$krep [InlPrag=[~]] = GHC.Types.KindRepFun $krep $krep +$krep [InlPrag=[~]] = GHC.Types.KindRepFun GHC.Types.krep$* $krep +$krep [InlPrag=[~]] = GHC.Types.KindRepFun GHC.Types.krep$* $krep +$krep [InlPrag=[~]] + = GHC.Types.KindRepTyConApp + GHC.Types.$tcConstraint [] @GHC.Types.KindRep +$krep [InlPrag=[~]] + = GHC.Types.KindRepTyConApp + Bug.$tcC + ((:) @GHC.Types.KindRep + $krep ((:) @GHC.Types.KindRep $krep [] @GHC.Types.KindRep)) +Bug.$trModule + = GHC.Types.Module + (GHC.Types.TrNameS "main"#) (GHC.Types.TrNameS "Bug"#) +AbsBinds [] [] + {Exports: [foo <= foo + wrap: <>] + Exported types: foo :: forall a b. C a b => a -> b -> a + [LclId] + Binds: foo x y + = blah x + where + AbsBinds [] [] + {Exports: [blah <= blah + wrap: <>] + Exported types: blah :: a -> a + [LclId] + Binds: blah z = [x, z] `seq` op z + Evidence: [EvBinds{[W] $dC = $dC}]} + Evidence: [EvBinds{}]} + + |