On Tuesday, 2 June 2020 at 09:07:08 UTC, Basile B. wrote:
On Tuesday, 2 June 2020 at 08:56:13 UTC, realhet wrote:
[...]

There's a language rule, expressions cant be aliased, however D has a bug, some expressions that look like type can be aliased, then when you use them you have an error about 'this' but in first place here you should really have an error saying 'cant alias expression'.

Note that most of the time attempts to alias expressions is detected. This is a particular bug, a "corner case".

Reply via email to