Ticket #506 (closed defect: invalid)
Extensions field not being used
| Reported by: | fasta | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.6.0.1 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | 6.10.1 | Platform: |
Description
ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1 cabal --version cabal-install version 0.6.0 using version 1.6.0.1 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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

