Fermin Reig writes:
> 
> Hi, 
> 
> I got the following error message with 2.10:
> 
> MyFiniteMap.lhs:857: Compiler bug: kind mis-match between
>                          `ta1XZ' :: `*' and `Int#' :: `*#'
>     Expected: `Int#'
>     Inferred: `ta1XZ'
>     In the second argument of `put', namely `size'
>     In a do statement: `sizePid <- put pjsl size'
> 
> 
> But in fact it was not a compiler bug, but a programming error!
> 

Thanks, here's the error message you'll get with the current
sources of ghc:

MyFiniteMap.lhs:857: Kind mis-match between `a1XZ' :: `*' and `Int#' :: `*#'
    Expected: `a1XZ'
    Inferred: `Int#'
    In the second argument of `put', namely `size'
    In a do statement: `sizePid <- put pjsl size'

--Sigbjorn

Reply via email to