digitalmars.D.bugs - [Issue 14410] New: core.demangle doesn't handle typeof(null) correctly
- via Digitalmars-d-bugs (23/23) Apr 05 2015 https://issues.dlang.org/show_bug.cgi?id=14410
https://issues.dlang.org/show_bug.cgi?id=14410 Issue ID: 14410 Summary: core.demangle doesn't handle typeof(null) correctly Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: sludwig outerproduct.org The following code fails because demangleType("n") outputs an empty string instead of "typeof(null)". --- import core.demangle; void main() { assert(demangleType("n") == "typeof(null)"); } --- --
Apr 05 2015