X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftests%2Frename%2Frn015.stderr;fp=ghc%2Fcompiler%2Ftests%2Frename%2Frn015.stderr;h=fc3df5eac45681ef6217b491c108fea36f7a5ace;hb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;hp=0000000000000000000000000000000000000000;hpb=e48474bff05e6cfb506660420f025f694c870d38;p=ghc-hetmet.git diff --git a/ghc/compiler/tests/rename/rn015.stderr b/ghc/compiler/tests/rename/rn015.stderr new file mode 100644 index 0000000..fc3df5e --- /dev/null +++ b/ghc/compiler/tests/rename/rn015.stderr @@ -0,0 +1,73 @@ +Renamed-pass4: +module Test 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.\\ +class Test.K a where + op1{op 1 cls Test.K} :: a -> a -> a + op2{op 2 cls Test.K} :: Int -> a +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 (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 (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) +instance Test.K Bool where + op1{op 1 cls Test.K} + a b = a +instance Test.K Int where + op1{op 1 cls Test.K} + a b = a (+) b + op2{op 2 cls Test.K} + x = x +instance Test.K [a] where + *UNBOUND*op3 + a = a +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 (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) +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 + + +"rn015.hs", line 18: "op3" is not an operation of class "K" +Fail: Compilation errors found + +ghc: execution of the Haskell compiler had trouble