Comment #0 by alienballance — 2011-08-19T08:40:46Z
It was quite hard to reproduce it but here it is:
<code>
class C1 {
void setElemParam(T)(T value) {}
struct Test {
void setChannel() {
setElemParam(1); // ERROR!
// Error: this for setElemParam needs to be type C1 not type Test
//setElemParam!float(1); // OK!
}
}
}
void main() {}
</code>
Comment #1 by issues.dlang — 2012-08-05T20:12:05Z
Still a problem in 2.060.
Comment #2 by robert.schadek — 2024-12-13T17:56:13Z