Ticket #506 (closed defect: invalid)
Extensions field not being used
|Reported by:||fasta||Owned by:|
ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1 cabal --version cabal-install version 0.6.0 using version 184.108.40.206 of the Cabal library
I use the extensions field and I specified NoImplicitPrelude? as its value. The problem is that this is ignored in a module without any LANGUAGE pragma (but I believe it also doesn't work with a LANGUAGE pragma).
I expect that the extensions for a module compiled via Cabal are the union of those specified in the extensions field in the Cabal file and those of the corresponding Module.hs file as specified with the LANGUAGE pragma.