id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty,ghcversion,platform
689,Package checker shouldn't warn about deprecated extensions inside conditionals,guest,,"Hello,

I uploaded a package to Hackage (extcore 0.6) that contains the following text in the Library section in the .cabal file:

{{{
  if impl(ghc > 6.8.2) {
     build-depends:syb
  }
  else {
     extensions: PatternSignatures
  }
}}}

The Hackage package checker warned me:

""Deprecated extensions: 'PatternSignatures'. Instead of 'PatternSignatures' use 'ScopedTypeVariables'.""

This seems like a bug to me. Of course PatternSignatures is deprecated; that's why it's in a clause that only applies with a version of GHC less than 6.8.2. Warnings should trigger only for extensions that are deprecated in the version that the extension is declared for.",defect,closed,normal,,Cabal library,1.6.0.3,normal,wontfix,,,unknown,,
