System.IO.Error needs to be imported unconditionally
The recent patch "Avoid using IOError internals" placed import of System.IO.Error in files Network/BSD.hsc and Network/Socket.hsc within a preprocessor conditional block, in the way that only GHC imports System.IO.Error. This causes errors when Hugs processes these files.
Suggested: unconditionally import System.IO.Error in these modules.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/network |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |