Bug 11670 – RTInfo is not respected for primitive types

Status
NEW
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-03T11:00:26Z
Last change time
2024-12-13T18:14:54Z
Assigned to
No Owner
Creator
Max Samukha
Blocks
3463
Moved to GitHub: dmd#18732 →

Comments

Comment #0 by samukha — 2013-12-03T11:00:26Z
in the object module: template RTInfo(T) { enum RTInfo = is(T == int) ? cast(immutable(void)*)0xDEADBEEF : null; } ----- void main() { assert(typeid(int).rtInfo == cast(immutable(void)*)0xDEADBEEF); } The assert should pass.
Comment #1 by rsw0x — 2015-06-29T23:09:51Z
This needs implemented for precise GC implementations
Comment #2 by robert.schadek — 2024-12-13T18:14:54Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18732 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB