-
Notifications
You must be signed in to change notification settings - Fork 842
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
Spurious error when loading package into ghci #449
Comments
@chrisdone any thoughts? |
Haven't the foggiest what would cause that. I guess you could paste your |
I've seen this before. It happens because I think in this case stack shouldn't add the extensions, since they're in the
|
@hesselink Thanks for contributing that tidbit. From the Cabal API documentation there isn't explanation as to how the two fields differ. In other words, the |
@hesselink : Thanks for pointing out that syntax ambiguity with (!). I changed my code and all is good. I might want to use BangPatterns in that module in the future. |
I've run into a more subtle manifestation of this issue because I have I don't think, however, that But as a short-term workaround, ignoring |
I have a package which builds without error but fails to load in
ghci with a spurious parse error:
The code it is complaining about is:
If I specify the major source file it just gives me the ghci prompt,
but I can load the load the modules OK.
I suppose the latter behaviour is a feature of the stack environment,
but the parse error is mystifying.
The text was updated successfully, but these errors were encountered: