Commit ad0eb81c authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Follow column number changes

parent ed1eba13
annfail01.hs:4:0: Not in scope: type constructor or class `Foo'
annfail01.hs:4:1: Not in scope: type constructor or class `Foo'
annfail01.hs:5:0: Not in scope: `f'
annfail01.hs:5:1: Not in scope: `f'
annfail02.hs:6:0: Not in scope: data constructor `Foo'
annfail02.hs:6:1: Not in scope: data constructor `Foo'
annfail02.hs:7:0: Not in scope: type constructor or class `Bar'
annfail02.hs:7:1: Not in scope: type constructor or class `Bar'
annfail03.hs:17:0:
GHC stage restriction: instance for `Data InModule'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: InModule
In the annotation: {-# ANN f InModule #-}
annfail03.hs:17:1:
GHC stage restriction: instance for `Data InModule'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: InModule
In the annotation: {-# ANN f InModule #-}
annfail04.hs:14:11:
GHC stage restriction: instance for `Thing Int'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: (thing :: Int)
In the annotation: {-# ANN f (thing :: Int) #-}
annfail04.hs:14:12:
GHC stage restriction: instance for `Thing Int'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: (thing :: Int)
In the annotation: {-# ANN f (thing :: Int) #-}
annfail05.hs:11:0:
annfail05.hs:11:1:
No instance for (Data.Data.Data NoInstances)
arising from an annotation at annfail05.hs:11:0-24
arising from an annotation at annfail05.hs:11:1-25
Possible fix:
add an instance declaration for (Data.Data.Data NoInstances)
In the expression: NoInstances
......
annfail06.hs:21:0:
GHC stage restriction: instance for `Data InstancesInWrongModule'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: InstancesInWrongModule
In the annotation: {-# ANN f InstancesInWrongModule #-}
annfail06.hs:21:1:
GHC stage restriction: instance for `Data InstancesInWrongModule'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: InstancesInWrongModule
In the annotation: {-# ANN f InstancesInWrongModule #-}
annfail07.hs:9:16:
annfail07.hs:9:17:
Couldn't match expected type `[a]' against inferred type `Bool'
In the first argument of `head', namely `True'
In the expression: (head True)
......
annfail08.hs:9:0:
annfail08.hs:9:1:
No instance for (Data.Data.Data (a -> a))
arising from an annotation at annfail08.hs:9:0-21
arising from an annotation at annfail08.hs:9:1-22
Possible fix:
add an instance declaration for (Data.Data.Data (a -> a))
In the expression: (id + 1)
In the annotation: {-# ANN f (id + 1) #-}
annfail08.hs:9:16:
annfail08.hs:9:17:
No instance for (Num (a -> a))
arising from the literal `1' at annfail08.hs:9:16
arising from the literal `1' at annfail08.hs:9:17
Possible fix: add an instance declaration for (Num (a -> a))
In the second argument of `(+)', namely `1'
In the expression: (id + 1)
......
annfail09.hs:11:10:
GHC stage restriction: `g'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: g
In the annotation: {-# ANN f g #-}
annfail09.hs:11:11:
GHC stage restriction: `g'
is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: g
In the annotation: {-# ANN f g #-}
annfail10.hs:9:10:
annfail10.hs:9:11:
Ambiguous type variable `t' in the constraints:
`Num t' arising from the literal `1' at annfail10.hs:9:10
`Num t' arising from the literal `1' at annfail10.hs:9:11
`Data.Data.Data t'
arising from an annotation at annfail10.hs:9:0-14
arising from an annotation at annfail10.hs:9:1-15
Probable fix: add a type signature that fixes these type variable(s)
In the expression: 1
In the annotation: {-# ANN f 1 #-}
annfail11.hs:3:0: Not in scope: `length'
annfail11.hs:3:1: Not in scope: `length'
annfail11.hs:4:0: Not in scope: type constructor or class `Integer'
annfail11.hs:4:1: Not in scope: type constructor or class `Integer'
annfail12.hs:5:0:
Exception when trying to run compile-time code:
You were meant to see this error!
In the expression:
(error "You were meant to see this error!" :: Int)
In the annotation:
{-# ANN f (error "You were meant to see this error!" :: Int) #-}
annfail12.hs:5:1:
Exception when trying to run compile-time code:
You were meant to see this error!
In the expression:
(error "You were meant to see this error!" :: Int)
In the annotation:
{-# ANN f (error "You were meant to see this error!" :: Int) #-}
annfail13.hs:4:13: parse error on input `1'
annfail13.hs:4:14: parse error on input `1'
T2111.hs:6:22:
The arrow command
undefined -< x
was found where an expression was expected
In a stmt of a 'do' expression: x <- undefined -< x
In a stmt of a 'do' expression: rec {x <- undefined -< x}
In the expression:
do { rec {x <- undefined -< x};
undefined -< x }
T2111.hs:6:23:
The arrow command
undefined -< x
was found where an expression was expected
In a stmt of a 'do' expression: x <- undefined -< x
In a stmt of a 'do' expression: rec {x <- undefined -< x}
In the expression:
do { rec {x <- undefined -< x};
undefined -< x }
arrowfail001.hs:16:35:
arrowfail001.hs:16:36:
Ambiguous type variable `a' in the constraint:
`Foo a' arising from a use of `foo' at arrowfail001.hs:16:35-37
`Foo a' arising from a use of `foo' at arrowfail001.hs:16:36-38
Probable fix: add a type signature that fixes these type variable(s)
arrowfail002.hs:6:16: Not in scope: `x'
arrowfail002.hs:6:17: Not in scope: `x'
arrowfail003.hs:8:6:
arrowfail003.hs:8:7:
The arrow command
returnA -< []
was found where an expression was expected
In the expression: returnA -< []
In the definition of `foo': foo = returnA -< []
arrowfail003.hs:9:6:
arrowfail003.hs:9:7:
The arrow command
(|zeroArrow |)
was found where an expression was expected
......
arrowfail004.hs:12:14:
arrowfail004.hs:12:15:
Illegal constructor `T' in a 'proc' pattern
Proc patterns cannot use existentials or GADTs
In the pattern: T x
......
GadtOverlap.hs:19:0:
Warning: Pattern match(es) are non-exhaustive
In the definition of `h': Patterns not matched: T3
GadtOverlap.hs:19:1:
Warning: Pattern match(es) are non-exhaustive
In the definition of `h': Patterns not matched: T3
T2395.hs:12:0:
T2395.hs:12:1:
Warning: Pattern match(es) are overlapped
In the definition of `bar': bar _ = ...
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