Skip to content

Introduce -Wcompat-unqualified-imports

Ben Gamari requested to merge wip/T17244 into master

This implements the warning proposed in option (B) of the Data.List.singleton CLC discussion. This warning, which is included in -Wcompat is intended to help users identify imports of modules that will change incompatibly in future GHC releases. This currently only includes Data.List due to the expected specialisation and addition of Data.List.singleton.

Fixes #17244 (closed).

Merge request reports