October 09, 2018 [Issue 19295] New: ICE when taking address of member function passed as template parameter | ||||
---|---|---|---|---|
| ||||
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; } -- |
Copyright © 1999-2021 by the D Language Foundation