https://issues.dlang.org/show_bug.cgi?id=21073
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|phobos |dmd --- Comment #1 from [email protected] --- This is indeed a regression, but a compiler one, not a standard library one. Test case for the ultimate cause: ```d class C { auto internal() const { return 5; } alias internal this; }; void main() pure { const c = new C; auto r = cast(C)c; } ``` This should compile (I think?), but does not (since 2.084). Using `cast()` instead of `cast(C)` still works. --
