[Issue 8059] Deprecate .classinfo
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 13 18:55:08 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=8059
--- Comment #8 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Geod24 created dlang/dmd pull request #11033 "Fix issue 8059 - Deprecate
`.classinfo` in favor of `typeid`" fixing this issue:
- Fix issue 8059 - Deprecate `.classinfo` in favor of `typeid`
As explained in the changelog entry, `.classinfo` is redundant with `typeid`.
However, the later better expresses the idea of a "runtime `typeof`",
and free up an identifier in the pool of reserved properties.
https://github.com/dlang/dmd/pull/11033
--
More information about the Digitalmars-d-bugs
mailing list