Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
ad0eb81c
Commit
ad0eb81c
authored
Nov 28, 2009
by
Ian Lynagh
Browse files
Follow column number changes
parent
ed1eba13
Changes
201
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/annotations/should_fail/annfail01.stderr
View file @
ad0eb81c
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'
testsuite/tests/ghc-regress/annotations/should_fail/annfail02.stderr
View file @
ad0eb81c
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'
testsuite/tests/ghc-regress/annotations/should_fail/annfail03.stderr
View file @
ad0eb81c
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 #-}
testsuite/tests/ghc-regress/annotations/should_fail/annfail04.stderr
View file @
ad0eb81c
annfail04.hs:14:1
1:
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:1
2:
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) #-}
testsuite/tests/ghc-regress/annotations/should_fail/annfail05.stderr
View file @
ad0eb81c
annfail05.hs:11:
0
:
annfail05.hs:11:
1
:
No instance for (Data.Data.Data NoInstances)
arising from an annotation at annfail05.hs:11:
0
-2
4
arising from an annotation at annfail05.hs:11:
1
-2
5
Possible fix:
add an instance declaration for (Data.Data.Data NoInstances)
In the expression: NoInstances
...
...
testsuite/tests/ghc-regress/annotations/should_fail/annfail06.stderr
View file @
ad0eb81c
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 #-}
testsuite/tests/ghc-regress/annotations/should_fail/annfail07.stderr
View file @
ad0eb81c
annfail07.hs:9:1
6
:
annfail07.hs:9:1
7
:
Couldn't match expected type `[a]' against inferred type `Bool'
In the first argument of `head', namely `True'
In the expression: (head True)
...
...
testsuite/tests/ghc-regress/annotations/should_fail/annfail08.stderr
View file @
ad0eb81c
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
-2
1
arising from an annotation at annfail08.hs:9:
1
-2
2
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:1
6
:
annfail08.hs:9:1
7
:
No instance for (Num (a -> a))
arising from the literal `1' at annfail08.hs:9:1
6
arising from the literal `1' at annfail08.hs:9:1
7
Possible fix: add an instance declaration for (Num (a -> a))
In the second argument of `(+)', namely `1'
In the expression: (id + 1)
...
...
testsuite/tests/ghc-regress/annotations/should_fail/annfail09.stderr
View file @
ad0eb81c
annfail09.hs:11:1
0:
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:1
1:
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 #-}
testsuite/tests/ghc-regress/annotations/should_fail/annfail10.stderr
View file @
ad0eb81c
annfail10.hs:9:1
0
:
annfail10.hs:9:1
1
:
Ambiguous type variable `t' in the constraints:
`Num t' arising from the literal `1' at annfail10.hs:9:1
0
`Num t' arising from the literal `1' at annfail10.hs:9:1
1
`Data.Data.Data t'
arising from an annotation at annfail10.hs:9:
0
-1
4
arising from an annotation at annfail10.hs:9:
1
-1
5
Probable fix: add a type signature that fixes these type variable(s)
In the expression: 1
In the annotation: {-# ANN f 1 #-}
testsuite/tests/ghc-regress/annotations/should_fail/annfail11.stderr
View file @
ad0eb81c
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'
testsuite/tests/ghc-regress/annotations/should_fail/annfail12.stderr
View file @
ad0eb81c
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) #-}
testsuite/tests/ghc-regress/annotations/should_fail/annfail13.stderr
View file @
ad0eb81c
annfail13.hs:4:1
3
: parse error on input `1'
annfail13.hs:4:1
4
: parse error on input `1'
testsuite/tests/ghc-regress/arrows/should_fail/T2111.stderr
View file @
ad0eb81c
T2111.hs:6:2
2:
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:2
3:
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 }
testsuite/tests/ghc-regress/arrows/should_fail/arrowfail001.stderr
View file @
ad0eb81c
arrowfail001.hs:16:3
5
:
arrowfail001.hs:16:3
6
:
Ambiguous type variable `a' in the constraint:
`Foo a' arising from a use of `foo' at arrowfail001.hs:16:3
5
-3
7
`Foo a' arising from a use of `foo' at arrowfail001.hs:16:3
6
-3
8
Probable fix: add a type signature that fixes these type variable(s)
testsuite/tests/ghc-regress/arrows/should_fail/arrowfail002.stderr
View file @
ad0eb81c
arrowfail002.hs:6:1
6
: Not in scope: `x'
arrowfail002.hs:6:1
7
: Not in scope: `x'
testsuite/tests/ghc-regress/arrows/should_fail/arrowfail003.stderr
View file @
ad0eb81c
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
...
...
testsuite/tests/ghc-regress/arrows/should_fail/arrowfail004.stderr
View file @
ad0eb81c
arrowfail004.hs:12:1
4
:
arrowfail004.hs:12:1
5
:
Illegal constructor `T' in a 'proc' pattern
Proc patterns cannot use existentials or GADTs
In the pattern: T x
...
...
testsuite/tests/ghc-regress/deSugar/should_compile/GadtOverlap.stderr
View file @
ad0eb81c
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
testsuite/tests/ghc-regress/deSugar/should_compile/T2395.stderr
View file @
ad0eb81c
T2395.hs:12:
0
:
T2395.hs:12:
1
:
Warning: Pattern match(es) are overlapped
In the definition of `bar': bar _ = ...
Prev
1
2
3
4
5
…
11
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment