[Issue 21674] [REG v2.086] `alias this` triggers wrong deprecation message on function call

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 2 13:29:05 UTC 2021


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

--- Comment #4 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Please read the bug report again, or at the very least run the code.
As I mentioned in the OP:

> I added an `assert(0);` to confirm that `str` is being called (and it is).

Because one can't assign a `string` to a `CachedString` (the only member is
length and the `alias this` is on a function).

--


More information about the Digitalmars-d-bugs mailing list