http://d.puremagic.com/issues/show_bug.cgi?id=10574



--- Comment #3 from Kenji Hara <[email protected]> 2013-07-08 18:05:35 PDT ---
(In reply to comment #2)
> Just an educated guess. The problem seems to be that the value is a L-value so
> the  signature becomes (ref T[]) which cannot match immutable(int[]).

That's exactly the current compiler's behavior. "auto ref"  always behave as
"ref" parameter against lvalue argument `i`, then T[] cannot deduce type T from
immutable(int[]).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to