#53: qualified + hiding hides too much
---------------------------+------------------------------------------------
Reporter: ross | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: module system | Version: 200609
Keywords: |
---------------------------+------------------------------------------------
Given the following modules:
{{{
module A where
f = 1
g = 2
}}}
{{{
module B where
import qualified A hiding (f)
h = A.g
}}}
Hugs fails with
{{{
ERROR "B.hs":3 - Undefined qualified variable "A.g"
}}}
(reported by Iavor Diatchki)
This affects variables, but not types or data constructors.
--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/53>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hugs-bugs