What is this error?!

Timon Gehr timon.gehr at gmx.ch
Wed Apr 25 09:15:42 PDT 2012


On 04/25/2012 12:01 PM, Mehrdad wrote:
> Trying to compile
> import std.stdio, std.cstream;
> alias file a;
> gives
> [...]\windows\bin\..\..\src\phobos\std\stdio.d(257): Error: struct
> std.stdio.File conflicts with class std.stream.File at
> [...]\windows\bin\..\..\src\phobos\std\stream.d(1807)
> [...]\Temp2.d(2): Error: undefined identifier file, did you mean struct
> File?
>
> IMHO the first error is a little silly...

Issues should go straight to the bug tracker.


More information about the Digitalmars-d mailing list