http://d.puremagic.com/issues/show_bug.cgi?id=10574
Steven Schveighoffer <schvei...@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schvei...@yahoo.com --- Comment #1 from Steven Schveighoffer <schvei...@yahoo.com> 2013-07-08 12:10:26 PDT --- For clarification, the error displayed for the given code is: Error: template testautoref.foo(T)(auto ref T[] i) cannot deduce template function from argument types !()(immutable(int[])) And it does match immutable(int)[]. As implied, if you change to version(none), it does indeed work. const(int[]) also fails. A workaround that seems to work, but I don't really like it, is to add overloads for immutable(T[]) and const(T[]) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------