Template alias parameter: error: need 'this' for ...

Steven Schveighoffer schveiguy at gmail.com
Fri Feb 24 15:28:18 UTC 2023


On 2/24/23 7:00 AM, Elfstone wrote:
> 
> Seems like the same bug is still there after ten years.
> 

`static` should not affect module-level functions, but also, this code 
should work without `static`.

Reported, not sure if there's a previous bug, it was hard to come up 
with a good description:

https://issues.dlang.org/show_bug.cgi?id=23738

-Steve


More information about the Digitalmars-d-learn mailing list