import bug

BCS ao at pathlink.com
Fri Sep 14 21:56:38 PDT 2007


Reply to Bill,

> 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
>> 
> What do you mean quits working?  Fails to compile, or link, or execute
> properly?
> 
> --bb
> 

Fails to compile:

b.d(4): Error: undefined identifier package std.file




More information about the Digitalmars-d-bugs mailing list