Commit 42f06f68 authored by thomie's avatar thomie
Browse files

Testsuite: accept output without Windows line endings (#11631)

parent 978c3ea1
T10516.hs:8:6: error:
The type synonym ‘App’ should have 2 arguments, but has been given 1
In the type signature: f :: f a -> X (App f) a
T10516.hs:8:6: error:
• The type synonym ‘App’ should have 2 arguments, but has been given 1
• In the type signature:
f :: f a -> X (App f) a
T6054.hs:7:14:
No instance for (Bar '() a0)
arising from an expression type signature
In the first argument of ‘print’, namely
‘(Proxy :: Bar () a => Proxy a)’
In the expression: print (Proxy :: Bar () a => Proxy a)
In an equation for ‘foo’:
foo = print (Proxy :: Bar () a => Proxy a)
T6054.hs:7:14: error:
No instance for (Bar '() a0)
arising from an expression type signature
In the first argument of ‘print’, namely
‘(Proxy :: Bar () a => Proxy a)’
In the expression: print (Proxy :: Bar () a => Proxy a)
In an equation for ‘foo’:
foo = print (Proxy :: Bar () a => Proxy a)
Misplaced.hs:4:1:
Misplaced SPECIALISE instance pragma:
{-# SPECIALIZE instance Eq (T Int) #-}
Misplaced.hs:4:1: error:
Misplaced SPECIALISE instance pragma:
{-# SPECIALIZE instance Eq (T Int) #-}
T2310.hs:5:41: error:
Variable not in scope: co
Perhaps you meant one of these:
‘c’ (line 5), ‘cos’ (imported from Prelude)
T2310.hs:5:41: error:
Variable not in scope: co
Perhaps you meant one of these:
‘c’ (line 5), ‘cos’ (imported from Prelude)
T3792.hs:3:17: Illegal qualified name in import item: Prelude.map
T3792.hs:3:17: error:
Illegal qualified name in import item: Prelude.map
rnfail022.hs:8:5: error:
Variable not in scope: intersperse
Perhaps you meant ‘L.intersperse’ (imported from Data.List)
rnfail022.hs:8:5: error:
Variable not in scope: intersperse
Perhaps you meant ‘L.intersperse’ (imported from Data.List)
RnFail047_A.hs-boot:5:1:
‘RnFail047_A.y’ is exported by the hs-boot file, but not exported by the module
RnFail047_A.hs-boot:5:1: error:
‘RnFail047_A.y’ is exported by the hs-boot file, but not exported by the module
Simpl020_A.hs:26:10: Warning:
No explicit implementation for
‘toGUIObject’ and ‘cset’
In the instance declaration for ‘GUIObject ()’
Simpl020_A.hs:26:10: warning:
No explicit implementation for
‘toGUIObject’ and ‘cset’
In the instance declaration for ‘GUIObject ()’
T3600.hs:5:3-6: Splicing declarations
test
======>
myFunction = (testFun1 [], testFun2 [], testFun2 "x")
T3600.hs:5:3-6: Splicing declarations
test ======> myFunction = (testFun1 [], testFun2 [], testFun2 "x")
T10632.hs:3:1: warning:
Redundant constraint: ?file1::String
In the type signature for:
f :: (?file1::String) => IO ()
T10632.hs:3:1: warning:
Redundant constraint: ?file1::String
In the type signature for:
f :: (?file1::String) => IO ()
T3696.hs:9:1:
Warning: Top-level binding with no type signature: def :: Int
T3696.hs:9:1: warning:
Top-level binding with no type signature: def :: Int
T7050.hs:3:14: warning:
Ignoring unusable UNPACK pragma on the first argument of ‘Foo’
In the definition of data constructor ‘Foo’
In the data type declaration for ‘Foo’
T7050.hs:3:14: warning:
Ignoring unusable UNPACK pragma on the first argument of ‘Foo’
In the definition of data constructor ‘Foo’
In the data type declaration for ‘Foo’
T7220a.hs:17:6: error:
Could not deduce (C a b)
from the context: (C a0 b, TF b ~ Y)
bound by the type signature for:
f :: (C a0 b, TF b ~ Y) => b
at T7220a.hs:17:6-44
Possible fix:
add (C a b) to the context of
the type signature for:
f :: (C a0 b, TF b ~ Y) => b
In the ambiguity check for ‘f’
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the type signature: f :: (forall b. (C a b, TF b ~ Y) => b) -> X
T7220a.hs:17:6: error:
• Could not deduce (C a b)
from the context: (C a0 b, TF b ~ Y)
bound by the type signature for:
f :: (C a0 b, TF b ~ Y) => b
at T7220a.hs:17:6-44
Possible fix:
add (C a b) to the context of
the type signature for:
f :: (C a0 b, TF b ~ Y) => b
• In the ambiguity check for ‘f’
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the type signature:
f :: (forall b. (C a b, TF b ~ Y) => b) -> X
T7562.hs:3:14: warning:
UNPACK pragma lacks '!' on the first argument of ‘Pair2’
In the definition of data constructor ‘Pair2’
In the data type declaration for ‘Pair2’
T7562.hs:3:14: warning:
UNPACK pragma lacks '!' on the first argument of ‘Pair2’
In the definition of data constructor ‘Pair2’
In the data type declaration for ‘Pair2’
T9497a.hs:2:8: warning:
Found hole: _main :: IO ()
Or perhaps ‘_main’ is mis-spelled, or not in scope
In the expression: _main
In an equation for ‘main’: main = _main
Relevant bindings include main :: IO () (bound at T9497a.hs:2:1)
T9497a.hs:2:8: warning:
Found hole: _main :: IO ()
Or perhaps ‘_main’ is mis-spelled, or not in scope
In the expression: _main
In an equation for ‘main’: main = _main
Relevant bindings include main :: IO () (bound at T9497a.hs:2:1)
AssocTyDef05.hs:6:5:
Number of parameters must match family declaration; expected 1
In the default type instance declaration for ‘Typ’
In the class declaration for ‘Cls’
AssocTyDef05.hs:6:5: error:
Number of parameters must match family declaration; expected 1
In the default type instance declaration for ‘Typ’
In the class declaration for ‘Cls’
ContextStack2.hs:8:6: error:
Reduction stack overflow; size = 11
When simplifying the following type:
TF (TF (TF (TF (TF a))))
~ (TF (TF (TF (TF (TF (TF a))))), TF (TF (TF (TF (TF (TF Int))))))
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
In the ambiguity check for ‘t’
In the type signature: t :: (a ~ TF (a, Int)) => Int
ContextStack2.hs:8:6: error:
• Reduction stack overflow; size = 11
When simplifying the following type:
TF (TF (TF (TF (TF a))))
~ (TF (TF (TF (TF (TF (TF a))))), TF (TF (TF (TF (TF (TF Int))))))
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
• In the ambiguity check for ‘t’
In the type signature:
t :: (a ~ TF (a, Int)) => Int
FDsFromGivens.hs:9:7: error:
Couldn't match type ‘[a]’ with ‘Bool’
arising from a functional dependency between constraints:
‘C Char Bool’
arising from the type signature for:
g1 :: (C Char [a], C Char Bool) => a -> ()
at FDsFromGivens.hs:9:7-42
‘C Char [a]’
arising from the type signature for:
g1 :: (C Char [a], C Char Bool) => a -> ()
at FDsFromGivens.hs:9:7-42
Inaccessible code in
the type signature for:
g1 :: (C Char [a], C Char Bool) => a -> ()
In the ambiguity check for ‘g1’
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the type signature: g1 :: (C Char [a], C Char Bool) => a -> ()
FDsFromGivens.hs:9:7: error:
• Couldn't match type ‘[a]’ with ‘Bool’
arising from a functional dependency between constraints:
‘C Char Bool’
arising from the type signature for:
g1 :: (C Char [a], C Char Bool) => a -> ()
at FDsFromGivens.hs:9:7-42
‘C Char [a]’
arising from the type signature for:
g1 :: (C Char [a], C Char Bool) => a -> ()
at FDsFromGivens.hs:9:7-42
Inaccessible code in
the type signature for:
g1 :: (C Char [a], C Char Bool) => a -> ()
• In the ambiguity check for ‘g1’
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the type signature:
g1 :: (C Char [a], C Char Bool) => a -> ()
FailDueToGivenOverlapping.hs:27:9: error:
Overlapping instances for E [t0] arising from a use of ‘eop’
Matching givens (or their superclasses):
E [Int]
bound by the type signature for:
bar :: E [Int] => () -> ()
at FailDueToGivenOverlapping.hs:26:1-26
Matching instances:
instance E [a] -- Defined at FailDueToGivenOverlapping.hs:21:10
(The choice depends on the instantiation of ‘t0’)
In the expression: eop [undefined]
In an equation for ‘bar’: bar _ = eop [undefined]
FailDueToGivenOverlapping.hs:27:9: error:
Overlapping instances for E [t0] arising from a use of ‘eop’
Matching givens (or their superclasses):
E [Int]
bound by the type signature for:
bar :: E [Int] => () -> ()
at FailDueToGivenOverlapping.hs:26:1-26
Matching instances:
instance E [a] -- Defined at FailDueToGivenOverlapping.hs:21:10
(The choice depends on the instantiation of ‘t0’)
In the expression: eop [undefined]
In an equation for ‘bar’: bar _ = eop [undefined]
IPFail.hs:6:18: error:
Could not deduce (Num Bool) arising from the literal ‘5’
from the context: ?x::Int
bound by the type signature for:
f0 :: (?x::Int) => () -> Bool
at IPFail.hs:5:1-31
In the expression: 5
In the expression: let ?x = 5 in ?x
In an equation for ‘f0’: f0 () = let ?x = 5 in ?x
IPFail.hs:6:18: error:
Could not deduce (Num Bool) arising from the literal ‘5’
from the context: ?x::Int
bound by the type signature for:
f0 :: (?x::Int) => () -> Bool
at IPFail.hs:5:1-31
In the expression: 5
In the expression: let ?x = 5 in ?x
In an equation for ‘f0’: f0 () = let ?x = 5 in ?x
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment