X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftests%2Frename%2Frn013.stderr;fp=ghc%2Fcompiler%2Ftests%2Frename%2Frn013.stderr;h=acdfbc641ccb4578970780936f1a57e5790939a4;hb=bc2a4d6b2f9badfa98aa01d6ae550110e0eea0ed;hp=7f6d594c7a29ce65d0f363548b2271ea7ae2aab6;hpb=34cb1a0464a3d370b3c2e9de2fb399b8fbfab8c7;p=ghc-hetmet.git diff --git a/ghc/compiler/tests/rename/rn013.stderr b/ghc/compiler/tests/rename/rn013.stderr index 7f6d594..acdfbc6 100644 --- a/ghc/compiler/tests/rename/rn013.stderr +++ b/ghc/compiler/tests/rename/rn013.stderr @@ -1,94 +1,59 @@ -Renamed-pass4: -module Mod10 where -infixl 9 PreludeArray.! -infixl 9 PreludeList.!! -infixl 7 PreludeRatio.% -infixl 7 (*) -infixl 6 (+) -infixl 6 (-) -infixl 7 (/) -infixl 9 PreludeArray.// -infixl 7 `div` -infixl 7 `mod` -infixl 7 `quot` -infixl 7 `rem` -infixr 0 $ -infixr 3 && -infixr 8 (**) -infixr 9 . -infixr 8 Prelude.^ -infixr 8 Prelude.^^ -infixr 2 || -infix 4 (/=) -infix 6 :+ -infix 1 := -infix 4 (<) -infix 4 (<=) -infix 4 (==) -infix 4 (>) -infix 4 (>=) -infix 5 PreludeList.\\ -data Mod10.T1 a - = Mod10.C1 a -data Mod10.T10 a b c d e - = Mod10.T10C1 a - | Mod10.T10C2 b - | Mod10.T10C3 c - | Mod10.T10C4 d - | Mod10.T10C5 e -data Mod10.T2 a b - = Mod10.T2C1 a - | Mod10.T2C2 b -data Mod10.T3 a b c - = Mod10.T3C1 a - | Mod10.T3C2 b - | Mod10.T3C3 c -data Mod10.T4 a b c d - = Mod10.T4C1 a - | Mod10.T4C2 b - | Mod10.T4C3 c - | Mod10.T4C4 d -data Mod10.T5 a b c d e - = Mod10.T5C1 a - | Mod10.T5C2 b - | Mod10.T5C3 c - | Mod10.T5C4 d - | Mod10.T5C5 e -data Mod10.T6 a - = Mod10.T6C6 a -data Mod10.T7 a b - = Mod10.T7C6 a - | Mod10.T7C7 b -data Mod10.T8 a b c - = Mod10.T8C1 a - | Mod10.T8C2 b - | Mod10.T8C3 c -data Mod10.T9 a b c d - = Mod10.T9C1 a - | Mod10.T9C2 b - | Mod10.T9C3 c - | Mod10.T9C4 d -instance (Eq a, Eq b) => Eq (a, b) -instance (Eq a, Eq b, Eq c) => Eq (a, b, c) -instance (Eq a, Eq b, Eq c, Eq d) => Eq (a, b, c, d) -instance (Ord a, Ord b) => Ord (a, b) -instance (Ord a, Ord b, Ord c) => Ord (a, b, c) -instance (Ord a, Ord b, Ord c, Ord d) => Ord (a, b, c, d) -instance (Ix a, Ix b) => Ix (a, b) -instance (Ix a, Ix b, Ix c) => Ix (a, b, c) -instance (Ix a, Ix b, Ix c, Ix d) => Ix (a, b, c, d) -instance (Text a, Text b) => Text (a, b) -instance (Text a, Text b, Text c) => Text (a, b, c) -instance (Text a, Text b, Text c, Text d) => Text (a, b, c, d) -instance (Binary a, Binary b) => Binary (a, b) -instance (Binary a, Binary b, Binary c) => Binary (a, b, c) -instance (Binary a, Binary b, Binary c, Binary d) => Binary (a, b, c, d) -PreludeArray.! :: Ix a => Array a b -> a -> b -PreludeList.!! :: Integral a => [b] -> a -> b -PreludeRatio.% :: Integral a => a -> a -> Ratio a -PreludeArray.// :: Ix a => Array a b -> [Assoc a b] -> Array a b -PreludeList.\\ :: Eq a => [a] -> [a] -> [a] -Prelude.^ :: (Num b, Integral a) => b -> a -> b -Prelude.^^ :: (Fractional b, Integral a) => b -> a -> b -PreludeList.or :: [Bool] -> Bool +Renamer stats: 5 interfaces read + 1 class decls imported, out of 17 read + 0 data decls imported (of which 0 abstractly), out of 9 read + 0 newtype decls imported (of which 0 abstractly), out of 0 read + 0 type synonym decls imported, out of 5 read + 4 value signatures imported, out of 1098 read + 4 instance decls imported, out of 114 read + +================================================================================ +Renamer: +module Mod10 where +PrelBase.$d46{-rdc,p-} :: + {PrelBase.Eval{-24,p-} PrelBase.(){-40,p-}} +PrelBase.$d41{-rd7,p-} :: + {PrelBase.Eval{-24,p-} PrelBase.Int{-3g,p-}} +PrelBase.$d39{-rd4,p-} :: + {PrelBase.Eval{-24,p-} PrelBase.Double{-3a,p-}} +PrelBase.$d37{-rd2,p-} :: + {PrelBase.Eval{-24,p-} PrelBase.Bool{-34,p-}} +instance {PrelBase.Eval{-24,p-} PrelBase.(){-40,p-}} +instance {PrelBase.Eval{-24,p-} PrelBase.Int{-3g,p-}} +instance {PrelBase.Eval{-24,p-} PrelBase.Double{-3a,p-}} +instance {PrelBase.Eval{-24,p-} PrelBase.Bool{-34,p-}} +class PrelBase.Eval{-24,p-} rk6_rjZ +data T10{-r4V,x-} a_r4i b_r4j c_r4k d_r4l e_r4m = + T10C1{-r4,x-} a_r4i + | T10C2{-r3,x-} b_r4j + | T10C3{-r6,x-} c_r4k + | T10C4{-r8,x-} d_r4l + | T10C5{-ra,x-} e_r4m +data T9{-r4W,x-} a_r4o b_r4p c_r4q d_r4r = + T9C1{-rf,x-} a_r4o + | T9C2{-re,x-} b_r4p + | T9C3{-rh,x-} c_r4q + | T9C4{-rj,x-} d_r4r +data T8{-r4X,x-} a_r4t b_r4u c_r4v = + T8C1{-ro,x-} a_r4t | T8C2{-rn,x-} b_r4u | T8C3{-rq,x-} c_r4v +data T7{-r4Y,x-} a_r4x b_r4y = + T7C6{-rv,x-} a_r4x | T7C7{-ru,x-} b_r4y +data T6{-r50,x-} a_r4A = + T6C6{-r4Z,x-} a_r4A +data T5{-r51,x-} a_r4C b_r4D c_r4E d_r4F e_r4G = + T5C1{-rC,x-} a_r4C + | T5C2{-rB,x-} b_r4D + | T5C3{-rE,x-} c_r4E + | T5C4{-rG,x-} d_r4F + | T5C5{-rI,x-} e_r4G +data T4{-r52,x-} a_r4I b_r4J c_r4K d_r4L = + T4C1{-rN,x-} a_r4I + | T4C2{-rM,x-} b_r4J + | T4C3{-rP,x-} c_r4K + | T4C4{-rR,x-} d_r4L +data T3{-r53,x-} a_r4N b_r4O c_r4P = + T3C1{-rW,x-} a_r4N | T3C2{-rV,x-} b_r4O | T3C3{-rY,x-} c_r4P +data T2{-r54,x-} a_r4R b_r4S = + T2C1{-r13,x-} a_r4R | T2C2{-r12,x-} b_r4S +data T1{-r56,x-} a_r4U = + C1{-r55,x-} a_r4U