#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
_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to