http://d.puremagic.com/issues/show_bug.cgi?id=4129
--- Comment #2 from Don <[email protected]> 2013-04-09 00:37:12 PDT --- To make this compile on D2, needs to be changed so that it's a delegate literal again, instead of a function literal. Passes on D2, still ICE on D1. Revised test case: --- void mountainGoat(Callbacks ...)() { alias Callbacks[0] Cb; assert(Callbacks[0].ptr); assert(Cb.ptr); } void gazelle() { int m = 0; mountainGoat!( (int i) { int x = m + i; } )(); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
