-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow ScopedTypeVariables #181
Comments
Where did you put it in the file? |
Oh, after module. Yeah, that's not supported in either GHC or Fay. It's just ignored in GHC. haskell-src-exts counts it as a parse error. |
I tried positioning the directive before the module declaration and after. Fay reports a parse error either way. |
OK here |
I modified ios7crypt.hs but fay still fails to compile it. Trace:
Snippet (Lines 1-7):
Specs:
Which version of Fay are you using? How did you build Fay? I used |
Okay this is a bug, the flag is not propagated to ghc, here's a minimal reproduction
|
OK nope, it is haskell-src-exts that needs
|
A minor quirk to consider is what this would mean:
It should probably throw an error. See #378 for discussion. |
When I try to compile my Fay code, it says:
So I added
{-# LANGUAGE ScopedTypeVariables, DeriveDataTypeable #-}
, but Fay doesn't like the syntax.Can we add
{-# LANGUAGE ScopedTypeVariables, DeriveDataTypeable #-}
syntax to Fay like GHC uses?The text was updated successfully, but these errors were encountered: