hugs gets confused when 2 modules are imported with the same name

Ian Lynagh igloo@earth.li
Fri, 14 Dec 2001 16:13:03 +0000


With this module:

    module Q (foo) where

    import List as Foo
    import Maybe as Foo

    foo = Foo.find

hugs says

    ERROR tt.lhs:7 - Undefined qualified variable "Foo.find"

"5.3.3  Local aliases" in the report makes it clear that this should be
allowed.


Thanks
Ian