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

Mathias LANG <[email protected]> changed:

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

--- Comment #3 from Mathias LANG <[email protected]> ---
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();
```

--

Reply via email to