transitive imports & hiding

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
With these modules:

	module A(function, Class(method)) where
	function = id
	class Class a where method :: a

	module B(function, Class(..)) where
	import A

	module C where
	import B hiding (function)
	f = method

hugs C.hs yields
ERROR "C.hs":3 - Undefined variable "method"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.