Bug 11468 – `typeid` returns unqualified type info for qualified class instance

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-07T08:42:00Z
Last change time
2024-12-13T18:13:48Z
Keywords
wrong-code
Assigned to
No Owner
Creator
Denis Shelomovskii
Moved to GitHub: dmd#18710 →

Comments

Comment #0 by verylonglogin.reg — 2013-11-07T08:42:00Z
E.g. `typeid(new const Object)` returns `typeid(Object)`: --- void main() { assert(typeid(new const Object) is typeid(const Object)); // fails } --- This was part of Issue 4741.
Comment #1 by robert.schadek — 2024-12-13T18:13:48Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18710 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB