Ticket #53 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

qualified + hiding hides too much

Reported by: ross Owned by: nobody
Priority: major Milestone:
Component: module system Version: 200609
Keywords: Cc:

Description

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.

Change History

Changed 6 years ago by ross

  • status changed from new to closed
  • resolution set to fixed

fixed in CVS

Note: See TracTickets for help on using tickets.