Compiler implementation of the D programming language.
alias ident this;
The symbol this alias this
resolves to
Whether this alias this
is deprecated or not
Check if an alias this
is deprecated
Usually one would use expression.checkDeprecated(scope, aliasthis)
to check if expression
uses a deprecated aliasthis
, but this calls toPrettyChars
which lead to the following message: "Deprecation: alias this fullyqualified.aggregate.__anonymous
is deprecated"
AliasThis at
| The AliasThis object to check |
Loc loc
|
Loc of the expression triggering the access to at
|
Scope* sc
|
Scope of the expression (deprecations do not trigger in deprecated scopes) |
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_aliasthis.html