ghc 5.02 trats import hiding wrong
When a module is imported hiding a few symbols, they
are not accessible even by qualifying the name. This
worked in ghc 5.00.2, but does not work in 5.02.
Also, the Haskell 98 report (section 5.3) says:"The
hiding clause only applies to unqualified names."
This, is clearly a bug. This is also reported on the
mailing list:
http://www.haskell.org/pipermail/glasgow-haskell-bugs/2001-September/000763.html
I think this is a very serious bug, it causes my
program to not compile and it's not easy to fix it
other than importing one of the modules with the
clashing symbol as "qualified", which is not that nice.
Trac metadata
Trac field |
Value |
Version |
5.02 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedNoReason |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|