-Wprepositive-qualified-module: Suggest turning on ImportQualifiedPost
Location of documentation issue: GHC warnings
-Wprepositive-qualified-module only recommends prepositive qualification, without mentioning that
ImportQualifiedPost is necessary for it. This is in contrast to other warnings (e.g. for
MPTC) that identify the necessary extensions to use the relevant syntax.
Proposed improvements or changes
Replace current warning:
Found ‘qualified’ in prepositive position Suggested fix: place ‘qualified’ after the module name instead.
Found ‘qualified’ in prepositive position Suggested fix: place ‘qualified’ after the module name and enable ImportQualifiedPost instead.
ImportQualifiedPost isn't turned on
- GHC version used (if appropriate): 8.10.1