D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 11468 - `typeid` returns unqualified type info for qualified class instance
Summary: `typeid` returns unqualified type info for qualified class instance
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2013-11-07 08:42 UTC by Denis Shelomovskii
Modified: 2024-12-13 18:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Denis Shelomovskii 2013-11-07 08:42:00 UTC
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 dlangBugzillaToGithub 2024-12-13 18:13:48 UTC
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