https://issues.dlang.org/show_bug.cgi?id=14797
Steven Schveighoffer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Steven Schveighoffer <[email protected]> --- This is expected behavior. What you have is a specialization for inout(CharT) where str is inout(CharT)[], and you are passing in just char[], which doesn't match the specialization. IFTI breaks down in certain ways with specializations, but this should work if you have an inout(char)[] to pass in. I think all you need to do to fix your example is: inout(dchar)[] foo(CharT)(inout(CharT)[] str) --
