[Issue 19295] New: ICE when taking address of member function passed as template parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 9 11:05:35 UTC 2018
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 at puremagic.com
Reporter: simen.kjaras at 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;
}
--
More information about the Digitalmars-d-bugs
mailing list