module system bug
22 Jan
2007
22 Jan
'07
2:01 a.m.
Hello, There appears to be a problem when combinig "hiding" and "qualified" imports. Here is an example: module A where x = True module Main(main) where import qualified A hiding () main = print A.x When loading the second module (Main) Hugs (September 2006) complains that A.x is not in scope. It appears that this happens whenever there is a 'hiding' clause (it does not have to be empty) but it does not happen if the import is not qualified. -Iavor
7100
Age (days ago)
7100
Last active (days ago)
0 comments
1 participants
participants (1)
-
Iavor Diatchki