http://d.puremagic.com/issues/show_bug.cgi?id=9338
Summary: Compiler segfault with template mixin creating compile
time array
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Robik <[email protected]> 2013-01-17 11:48:55 PST ---
This code segfaults:
----
mixin template SomeMixin()
{
void test()
{
enum members = makeArray();
}
string[] makeArray()
{
return ["a"];
}
}
class Foo
{
mixin SomeMixin;
}
----
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------