[Issue 14410] New: core.demangle doesn't handle typeof(null) correctly
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Apr 5 05:56:20 PDT 2015
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 at puremagic.com
Reporter: sludwig at 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)");
}
---
--
More information about the Digitalmars-d-bugs
mailing list