I think you want one of these LANGUAGE pragmas:

ExplicitForAll
ScopedTypeVariables

There might be one more that applies here that I'm not thinking of.

- Philip

On Sat, Jun 11, 2011 at 11:06 AM, Clint Adams <[email protected]> wrote:

> I'm trying to package language-javascript 0.4.4 for Debian and I'm
> running into some trouble.
>
> The first problem is that it gets upset about an invalid character
> on the lookahead line after 12.4 in
> src/Language/JavaScript/Parser/Grammar5.y
>
> Removing that, it continues and then fails because of
>
> src/Language/JavaScript/Parser/Lexer.x:362:40:
>    Illegal symbol '.' in type
>    Perhaps you intended -XRankNTypes or similar flag
>    to enable explicit-forall syntax: forall <tvs>. <type>
>
>
> I tried putting
> {-# LANGUAGE RankNTypes #-}
> at the top, but it still wouldn't build.
>
> Can you help?
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive: http://lists.debian.org/[email protected]
>
>

Reply via email to