diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2013-04-22 12:56:09 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2013-04-22 13:00:57 +0100 |
commit | 0edc55b7f4fc3b2c07b47ea359542edfae40bb5a (patch) | |
tree | f88f0be1d33c5772fde887b49fd73820db40f287 /testsuite/tests/typecheck/should_fail/T3950.stderr | |
parent | 9bf2e77ede31f487b321d3f978c6e18a63739cd6 (diff) | |
download | haskell-0edc55b7f4fc3b2c07b47ea359542edfae40bb5a.tar.gz |
Error message wibbles, following TcErrors refactoring
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T3950.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T3950.stderr | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T3950.stderr b/testsuite/tests/typecheck/should_fail/T3950.stderr index b95b4f8177..b5244154b6 100644 --- a/testsuite/tests/typecheck/should_fail/T3950.stderr +++ b/testsuite/tests/typecheck/should_fail/T3950.stderr @@ -1,16 +1,15 @@ - -T3950.hs:15:13: - Couldn't match kind ‛* -> *’ with ‛*’ - When matching types - w :: (* -> * -> *) -> * - Sealed :: (* -> *) -> * - Expected type: w (Id p) - Actual type: Sealed (Id p0 x0) - In the first argument of ‛Just’, namely ‛rp'’ - In the expression: Just rp' - In an equation for ‛rp’: - rp _ - = Just rp' - where - rp' :: Sealed (Id p x) - rp' = undefined +
+T3950.hs:15:13:
+ Couldn't match type ‛Id p0 x0’ with ‛Id p’
+ Expected type: w (Id p)
+ Actual type: Sealed (Id p0 x0)
+ Relevant bindings include
+ rp :: Bool -> Maybe (w (Id p)) (bound at T3950.hs:15:1)
+ In the first argument of ‛Just’, namely ‛rp'’
+ In the expression: Just rp'
+ In an equation for ‛rp’:
+ rp _
+ = Just rp'
+ where
+ rp' :: Sealed (Id p x)
+ rp' = undefined
|