import bug

Brad Roberts braddr at puremagic.com
Fri Sep 14 21:40:25 PDT 2007


BCS wrote:
> --module 1---
> private import std.cstream;
> void main(){}
> -- module 2 --
> import std.stdio;
> void B()
> {
>     std.file.read(__FILE__); }
> ---
> 
> if the import in module 1 is removed std.file.read in module 2 quits 
> working
> 

Your examples are somewhat incomplete, but I strongly suspect they're 
the same as one of these old bugs:

http://d.puremagic.com/issues/show_bug.cgi?id=313
http://d.puremagic.com/issues/show_bug.cgi?id=314

Later,
Brad


More information about the Digitalmars-d-bugs mailing list