Bug in namespace handling



About this list Date view Thread view Subject view Author view

Marcin 'Qrczak' Kowalczyk (qrczak@knm.org.pl)
6 Jan 2001 13:35:04 GMT


------------------------------------------------------------------------ module Test (stdout) where import qualified IO import IO (hClose) test = stdout ------------------------------------------------------------------------ stdout should not be visible, but this module compiles without errors. (It is indeed not visible when removed from the export list, or if one of import declarations is removed.) When I define my own stdout and export it from a module with imports like above, any use of that stdout from another module causes an error about duplicate definition. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTĘPCZA QRCZAK


About this list Date view Thread view Subject view Author view