[Issue 21369] Compiler doesn't allow lvalues via alias this when wrapper is an rvalue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 11 13:53:26 UTC 2021


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

--- Comment #3 from Steven Schveighoffer <schveiguy at gmail.com> ---
(In reply to apham from comment #2)
> Create temp var is OK

That doesn't trigger the bug because then s is an lvalue.

--


More information about the Digitalmars-d-bugs mailing list