Alias example should supposedly be illegal, but runs fine

Mike Franklin slavo5150 at yahoo.com
Tue Dec 19 02:12:29 UTC 2017


On Tuesday, 19 December 2017 at 02:04:34 UTC, codephantom wrote:

>>  writeln(S.j);
>>  // Error: Instance symbols cannot be used through types.
>
> I don't understand why you would say that is a bug.
>

I meant that the example is wrong, and a bug report should be 
filed to fix the example.

Mike


More information about the Digitalmars-d-learn mailing list