cabal icon indicating copy to clipboard operation
cabal copied to clipboard

Cabal (the library) advises use of `extensions:` when that field is deprecated

Open mpilgrem opened this issue 1 year ago • 2 comments
trafficstars

Motivation: https://github.com/commercialhaskell/stack/issues/6589

If a Cabal file uses ghc-options: to set language extensions, Cabal (the library) will advise the use of extensions: even when extensions: has been deprecated in favour of default-extensions:.

EDIT: This appears to be true even if the cabal-version: specifies a Cabal package format version that no longer supports extensions: at all.

mpilgrem avatar May 22 '24 14:05 mpilgrem

That's an oversight. PR fixing it is welcome!

ulysses4ever avatar May 22 '24 14:05 ulysses4ever

I'll try to give the fix some attention in the coming days.

mpilgrem avatar May 22 '24 14:05 mpilgrem