Hi,

Hugs98 doesn't implement 'local aliases' (5.3.2 of H98 report) in
import decls correctly.

--A.hs
module A where { x = 'x'; }
--B.hs
module B where { y = 'y'; }
--C.hs
module C where
import qualified A as D
import qualified B as D

z = [D.x, D.y]

Prelude> :l C
Reading file "C.hs":
Reading file "A.hs":
Reading file "B.hs":
Reading file "C.hs":
ERROR "C.hs" (line 6): Undefined qualified variable "D.x"
B> 

Believe I reported this one some time ago, but just in case it's been
forgotten :-)

--sigbjorn


Reply via email to