You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, it's usually the case that loading a package that specifies NoImplicitPrelude will fail to load along with a package that uses the prelude.
The text was updated successfully, but these errors were encountered:
Implemented this for -XNoImplicitPrelude, -XCPP, -XNoTraditionalRecordSyntax, -XSafe, and -XTemplateHaskell. I can't think of many other cases that can cause breakage. Any other such circumstances can be covered in other issues.
One potential case is combining flags with their negations - if one package specifies -XNoMonomorphismRestriction, and another specifies -XMonomorphismRestriction. Doesn't seem worth the effort to warn about this in general.
* * * * * * * *
There are issues with this project which may prevent GHCi from working properly.
-XNoImplicitPrelude will be used, but GHCi will likely fail to build things which depend on the implicit prelude.
It is specified for:
stack-repro:lib
But not for:
extradep:lib
To resolve, remove the flag(s) from the cabal file(s) and instead put them at the top of the haskell files.
It isn't yet possible to load multiple packages into GHCi in all cases - see
https://ghc.haskell.org/trac/ghc/ticket/10827
* * * * * * * *
For example, it's usually the case that loading a package that specifies
NoImplicitPrelude
will fail to load along with a package that uses the prelude.The text was updated successfully, but these errors were encountered: