[Hugs] #53: qualified + hiding hides too much
Hugs
trac at galois.com
Mon Jan 22 03:17:37 EST 2007
#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
More information about the Hugs-Bugs
mailing list