digitalmars.D.bugs - [Issue 13219] New: segmentation fault in FuncDeclaration::getLevel
- via Digitalmars-d-bugs (31/31) Jul 27 2014 https://issues.dlang.org/show_bug.cgi?id=13219
https://issues.dlang.org/show_bug.cgi?id=13219 Issue ID: 13219 Summary: segmentation fault in FuncDeclaration::getLevel Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: tim.dlang t-online.de The following code compiled with DMD 2.064.2, but results in a segmentation fault with DMD 2.065.0 and 2.066.0-b6: struct Map(V) { } void test(alias F,VA,VB)(Map!(VA), Map!(VB) ) if(is(VA:typeof(F(VA.init,VB.init))) ) { } void test2(alias F)() { test!((a,b)=>b)(Map!(int).init, Map!(int).init); } void main() { int x; test2!(x)(); } --
Jul 27 2014