[project @ 1999-06-09 09:35:54 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail076.stderr
1
2 tcfail076.hs:18:
3     Inferred type is less polymorphic than expected
4         Quantified type variable `res' escapes
5         It is mentioned in the environment
6         The following variables in the environment mention `res'
7             cont :: a -> m res
8     In an expression with expected type:
9         forall res1. (a1 -> m1 res1) -> m1 res1
10     In the first argument of `KContT', namely `(\ cont' -> cont a)'
11     In the right-hand side of a lambda abstraction:
12         KContT (\ cont' -> cont a)
13
14 Compilation had errors
15