This needs to be fixed - ref

Timon Gehr timon.gehr at gmx.ch
Sat Aug 31 12:43:53 UTC 2024


On 8/31/24 11:23, Nick Treleaven wrote:
> 
> So the following error makes sense:
> 
>      alias x = s.expand[0];
>      x.writeln(); // Error: accessing non-static variable `x` requires 
> an instance of `S`

It would be consistent, but it does not make sense.


More information about the Digitalmars-d mailing list