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.
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