Commit a024cd99 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Track error message changes

parent 7c837ea5
<interactive>:1:0:
No instance for (Show (t -> a))
arising from a use of `print' at <interactive>:1:0
Possible fix: add an instance declaration for (Show (t -> a))
In a 'do' expression: print it
<interactive>:1:0:
No instance for (Show (t -> a))
arising from a use of `print' at <interactive>:1:0
Possible fix: add an instance declaration for (Show (t -> a))
In a stmt of a 'do' expression: print it
......@@ -6,7 +6,7 @@ rebindable6.hs:106:2:
add (HasSeq (IO a -> t -> IO b)) to the context of
the type signature for `test_do'
or add an instance declaration for (HasSeq (IO a -> t -> IO b))
In a 'do' expression: f
In a stmt of a 'do' expression: f
In the expression:
do f
Just (b :: b) <- g
......@@ -22,7 +22,7 @@ rebindable6.hs:107:2:
arising from a do statement at rebindable6.hs:107:2-17
Possible fix:
add an instance declaration for (HasFail ([Prelude.Char] -> t1))
In a 'do' expression: Just (b :: b) <- g
In a stmt of a 'do' expression: Just (b :: b) <- g
In the expression:
do f
Just (b :: b) <- g
......@@ -43,7 +43,7 @@ rebindable6.hs:107:2:
the type signature for `test_do'
or add an instance declaration for
(HasBind (IO (Maybe b) -> (Maybe b -> t1) -> t))
In a 'do' expression: Just (b :: b) <- g
In a stmt of a 'do' expression: Just (b :: b) <- g
In the expression:
do f
Just (b :: b) <- g
......
......@@ -187,3 +187,6 @@ test('tcfail195', if_compiler_lt('ghc', '6.9', skip), compile_fail, [''])
test('tcfail196', if_compiler_lt('ghc', '6.9', skip), compile_fail, [''])
test('tcfail197', if_compiler_lt('ghc', '6.9', skip), compile_fail, [''])
test('tcfail198', normal, compile_fail, [''])
test('T1899', normal, compile_fail, [''])
test('T2126', normal, compile_fail, [''])
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