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: [email protected]
Reporter: [email protected]
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)");
}
---
--
