[Issue 8131] Delegate type inference with templates is absolutely *horrible*
https://issues.dlang.org/show_bug.cgi?id=8131 Nick Treleaven changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=22501 --
[Issue 8131] Delegate type inference with templates is absolutely *horrible*
https://issues.dlang.org/show_bug.cgi?id=8131 --- Comment #3 from hst...@quickfur.ath.cx --- Still happens on git HEAD (v2.084.0-395-gcb3a72613). --
[Issue 8131] Delegate type inference with templates is absolutely *horrible*
https://issues.dlang.org/show_bug.cgi?id=8131 --- Comment #2 from hst...@quickfur.ath.cx --- Still happens on git HEAD (db18e36a1c060fff056ecfa88cf792edc8ef8c1d). --
[Issue 8131] Delegate type inference with templates is absolutely *horrible*
https://issues.dlang.org/show_bug.cgi?id=8131 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||diagnostic --
[Issue 8131] Delegate type inference with templates is absolutely *horrible*
https://issues.dlang.org/show_bug.cgi?id=8131 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||rejects-valid --
[Issue 8131] Delegate type inference with templates is absolutely *horrible*
https://issues.dlang.org/show_bug.cgi?id=8131 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --
[Issue 8131] Delegate type inference with templates is absolutely *horrible*
http://d.puremagic.com/issues/show_bug.cgi?id=8131 --- Comment #1 from wfunct...@hotmail.com 2012-05-21 23:40:53 PDT --- Also another issue, likely to be related: The code import std.range; void f(R)(R, void delegate(ElementType!(R))) { } void main() { f([1], delegate void(x) { }); } says Error: undefined identifier R, did you mean template f(R)? Error: ElementType!(_error_) is used as a type Error: template f does not match any function template declaration Error: template f(R) cannot deduce template function from argument types !()(int[],void) even though 'R' and 'ElementType' are clearly both defined. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---