Ticket #4058 (closed feature request: fixed)
improve error message: Module `System.IO' does not export `LineBuffering'
| Reported by: | simonmar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.2 |
| Component: | Compiler | Version: | 6.12.2 |
| Keywords: | Cc: | merehap@…, michal.terepeta@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Easy (less than 1 hour) |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
LineBuffering is a constructor, and System.IO definitely does export it. A more helpful error message might be
`LineBuffering' is a constructor in the data type `BufferMode`,
to import it use
import System.IO (BufferMode(LineBuffering))
or
import System.IO (BufferMode(..))
(adapted from a suggestion by John Launchbury)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

