Ticket #1317 (closed feature request: fixed)
add warning for the Prelude being imported implicitly
| Reported by: | Isaac Dupree | Owned by: | Isaac Dupree |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.1 |
| Component: | Compiler | Version: | 6.6.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
For those who don't like the implicit Prelude (but have an existing codebase to work with, or want to stay compatible with Haskell standards). The only ways to keep the warning from triggering, once enabled, are -fno-implicit-prelude/LANGUAGE NoImplicitPrelude, and/or at least one import ... Prelude ... line appearing in the module.
Proposed flag name: -fwarn-implicit-prelude
Proposed "on" status: not even on with -Wall, must be enabled explicitly
Change History
Note: See
TracTickets for help on using
tickets.
