[Issue 21670] [REG 2.095] Public alias to private function triggers a deprecaton

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 30 18:59:02 UTC 2022


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Mathias LANG from comment #0)
> void main ()
> {
>     string s = up;
> }
As pointed out in issue 23592, `s = up();` works around the issue.

--


More information about the Digitalmars-d-bugs mailing list