[Issue 20033] alias this does not support `deprecated` attribute

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 8 05:11:26 UTC 2019


Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
            Summary|Deprecation not triggered   |alias this does not support
                   |with foreach + alias this   |`deprecated` attribute

--- Comment #3 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Actually, after looking at the code, it simply does not support `deprecated`.

E.g. adding the following line to `main` does not trigger any deprecation:
    auto i = Test.init.front();


More information about the Digitalmars-d-bugs mailing list