https://d.puremagic.com/issues/show_bug.cgi?id=11966
Summary: Regression 2.065.b1: inout(const(char))[] doesn't convert to inout(char)[] Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@me.com --- Comment #0 from Jacob Carlborg <d...@me.com> 2014-01-22 03:55:12 PST --- The following code used to work with 2.064.2: inout(char)[] stripped (inout(char)[] path) { return path; } struct PathParser { inout(const(char))[] pop () inout { return stripped (path); } inout(const(char))[] path () inout { return null; } } void main () { auto a = PathParser().pop; } With 2.065.b1 it results in this error: Error: function main.stripped (inout(char)[] path) is not callable using argument types (inout(const(char))[]) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------