Re: [GHC] #4058: improve error message: Module `System.IO' does not export `LineBuffering'
#4058: improve error message: Module `System.IO' does not export `LineBuffering' --+- Reporter: simonmar | Owner: Type: feature request | Status: closed Priority: normal | Milestone: 7.0.2 Component: Compiler |Version: 6.12.2 Resolution: fixed| Keywords: Testcase: | Blockedby: Difficulty: Easy (less than 1 hour) | Os: Unknown/Multiple Blocking: | Architecture: Unknown/Multiple Failure: None/Unknown | --+- Changes (by igloo): * status: patch = closed * resolution: = fixed Comment: Applied, thanks! -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4058#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4058: improve error message: Module `System.IO' does not export `LineBuffering'
#4058: improve error message: Module `System.IO' does not export `LineBuffering' -+-- Reporter: simonmar |Owner: Type: feature request | Status: patch Priority: normal|Milestone: 7.0.1 Component: Compiler | Version: 6.12.2 Keywords:| Testcase: Blockedby:| Difficulty: Easy (less than 1 hour) Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- Changes (by michalt): * cc: michal.terep...@… (added) * status: new = patch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4058#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #4058: improve error message: Module `System.IO' does not export `LineBuffering'
#4058: improve error message: Module `System.IO' does not export `LineBuffering' -+-- Reporter: simonmar |Owner: Type: feature request | Status: new Priority: normal|Milestone: 6.14.1 Component: Compiler | Version: 6.12.2 Keywords:| Difficulty: Easy (less than 1 hour) Os: Unknown/Multiple | Testcase: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- `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) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4058 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs