[Hackage] #506: Extensions field not being used

Hackage trac at galois.com
Tue Feb 24 06:04:03 EST 2009


#506: Extensions field not being used
----------------------------+-----------------------------------------------
  Reporter:  fasta          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:  6.10.1 
  Platform:                 |  
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/506>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list