https://issues.dlang.org/show_bug.cgi?id=20919
Issue ID: 20919
Summary: DMD crash when '__traits' prints error involving a
Parameter
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
test:
----------------------------
void foo(int a){}
static if (is(typeof(foo) params == __parameters))
{
__traits(getAttributes, params) a;
}
----------------------------
Patch ready.
--
