hiding imports doesn't seem to check if an import exists
module Main where
import Prelude hiding (thisDoesNotExist0x1234) -- should it fail here?
main = putStrLn "hiya"
This seems to interpret just fine in ghci and compile fine in ghc – it seems that it shouldn't.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |