digitalmars.D.bugs - [Issue 19295] New: ICE when taking address of member function passed
- d-bugmail puremagic.com (26/26) Oct 09 2018 https://issues.dlang.org/show_bug.cgi?id=19295
https://issues.dlang.org/show_bug.cgi?id=19295 Issue ID: 19295 Summary: ICE when taking address of member function passed as template parameter Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: ice Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: simen.kjaras gmail.com The below code causes DMD to go tits up: struct S1(T...) { auto fun() { pragma(msg, &T[0]); } } struct S2 { void gun(); S1!gun overloaded; } --
Oct 09 2018