Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3b5c38fc
Commit
3b5c38fc
authored
Jan 13, 2011
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Track recent changes in error messages
parent
b704f0aa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
16 deletions
+44
-16
testsuite/tests/ghc-regress/driver/recomp006/recomp006.stderr
...suite/tests/ghc-regress/driver/recomp006/recomp006.stderr
+1
-1
testsuite/tests/ghc-regress/ghc-api/apirecomp001/apirecomp001.stderr
...ests/ghc-regress/ghc-api/apirecomp001/apirecomp001.stderr
+6
-6
testsuite/tests/ghc-regress/indexed-types/should_fail/T3330a.stderr
...tests/ghc-regress/indexed-types/should_fail/T3330a.stderr
+28
-0
testsuite/tests/ghc-regress/rebindable/DoParamM.stderr
testsuite/tests/ghc-regress/rebindable/DoParamM.stderr
+9
-9
No files found.
testsuite/tests/ghc-regress/driver/recomp006/recomp006.stderr
View file @
3b5c38fc
...
...
@@ -8,7 +8,7 @@ A.hs:8:6:
In an equation for `f': f = (1, (2, 3))
A.hs:8:8:
Couldn't match expected type `Int' with actual type `(t, t1)'
Couldn't match expected type `Int' with actual type `(t
0
, t1)'
In the expression: (2, 3)
In the expression: (1, (2, 3))
In an equation for `f': f = (1, (2, 3))
testsuite/tests/ghc-regress/ghc-api/apirecomp001/apirecomp001.stderr
View file @
3b5c38fc
...
...
@@ -5,9 +5,9 @@ B.hs:4:1:
B.hs:5:12:
Warning: Defaulting the following constraint(s) to type `Integer'
(Enum a) arising from the arithmetic sequence `1 .. 23 * 2'
at B.hs:5:12-20
(Num a) arising from the literal `
1
' at B.hs:5:1
3
(Enum a
0
) arising from the arithmetic sequence `1 .. 23 * 2'
at B.hs:5:12-20
(Num a
0
) arising from the literal `
2
' at B.hs:5:1
9
In the first argument of `length', namely `[1 .. 23 * 2]'
In the first argument of `(-)', namely `length [1 .. 23 * 2]'
In the expression: length [1 .. 23 * 2] - 4
...
...
@@ -21,9 +21,9 @@ B.hs:4:1:
B.hs:5:12:
Warning: Defaulting the following constraint(s) to type `Integer'
(Enum a) arising from the arithmetic sequence `1 .. 23 * 2'
at B.hs:5:12-20
(Num a) arising from the literal `
1
' at B.hs:5:1
3
(Enum a
0
) arising from the arithmetic sequence `1 .. 23 * 2'
at B.hs:5:12-20
(Num a
0
) arising from the literal `
2
' at B.hs:5:1
9
In the first argument of `length', namely `[1 .. 23 * 2]'
In the first argument of `(-)', namely `length [1 .. 23 * 2]'
In the expression: length [1 .. 23 * 2] - 4
...
...
testsuite/tests/ghc-regress/indexed-types/should_fail/T3330a.stderr
View file @
3b5c38fc
T3330a.hs:17:34:
Couldn't match type `ix'
with `r ix1 -> Writer [AnyF ((->) (s0 ix0 -> ix1))] (r'0 ix1)'
`ix' is a rigid type variable bound by
the type signature for children :: s ix -> PF s r ix -> [AnyF s]
at T3330a.hs:17:1
Expected type: r ix1 -> Writer [AnyF s] (r'0 ix1)
Actual type: ix
Expected type: (s0 ix0 -> ix1)
-> r ix1
-> Writer [AnyF s] (r'0 ix1)
Actual type: s ix
In the first argument of `hmapM', namely `p'
In the first argument of `execWriter', namely `(hmapM p collect x)'
T3330a.hs:17:34:
Couldn't match type `s' with `(->) (s0 ix0 -> ix1)'
`s' is a rigid type variable bound by
the type signature for children :: s ix -> PF s r ix -> [AnyF s]
at T3330a.hs:17:1
Expected type: (s0 ix0 -> ix1)
-> r ix1
-> Writer [AnyF s] (r'0 ix1)
Actual type: s ix
In the first argument of `hmapM', namely `p'
In the first argument of `execWriter', namely `(hmapM p collect x)'
In the expression: execWriter (hmapM p collect x)
T3330a.hs:17:44:
Couldn't match type `ix' with `r0 ix0 -> Writer [AnyF s0] (r0 ix0)'
`ix' is a rigid type variable bound by
...
...
testsuite/tests/ghc-regress/rebindable/DoParamM.stderr
View file @
3b5c38fc
...
...
@@ -7,19 +7,19 @@ DoParamM.hs:146:25:
DoParamM.hs:286:28:
Couldn't match expected type `Locked' with actual type `Unlocked'
Expected type: LIO Locked r b
Actual type: LIO Unlocked Locked ()
Expected type: LIO Locked r
0
b
0
Actual type: LIO Unlocked Locked ()
In the expression: tlock2_do
In the expression:
do { tlock2_do;
tlock2_do }
do { tlock2_do;
tlock2_do }
DoParamM.hs:302:37:
Couldn't match expected type `Unlocked' with actual type `Locked'
Expected type: LIO Unlocked r b
Actual type: LIO Locked Unlocked ()
Expected type: LIO Unlocked r
0
b
0
Actual type: LIO Locked Unlocked ()
In the expression: unlock
In the expression:
do { tlock2_do;
unlock;
unlock }
do { tlock2_do;
unlock;
unlock }
Write
Preview
Markdown
is supported
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