http://d.puremagic.com/issues/show_bug.cgi?id=10486
Summary: Segfault on assigning `typeof(null)` to static array
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis Shelomovskij <[email protected]> 2013-06-27
11:50:19 MSD ---
---
void main()
{
typeof(null) null_;
int[1] sarr = null_;
}
---
`arrayOf` is called on null `e2y->type->toBasetype()->nextOf()` at
`e2ir.c@2837` (`AssignExp::toElem`).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------