|Posted by David Medlock||PermalinkReply|
Well I guess I couldn't stay away til '06 !
Here is the test case:
import std.stream, std.ctype, std.stdio;
void main( char args )
char c = ' ';
if ( isdigit(c) ) writefln( "Hello World" );
which gives( DMD 0.141, WinXP ):
---------- Capture Output ----------
> "Z:\dmd\bin\dmd.exe" -c F:\proj\d\test\vis.d
Z:\dmd\bin\..\src\phobos\std\stream.d(2912): function std.stream.isdigit conflicts with std.ctype.isdigit at Z:\dmd\bin\..\src\phobos\std\ctype.d(32)
F:\proj\d\test\vis.d: module vis std.stream.isdigit is private
> Terminated with exit code 1.
the private members of stream should not even exist outside that module, if I read the specs correctly.