digitalmars.D.bugs - [Issue 12089] New: std.utf.validate and inout(char[])
- d-bugmail puremagic.com (47/47) Feb 06 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (10/10) Feb 07 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (13/13) Feb 09 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (11/11) Feb 09 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (12/12) Feb 10 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (9/9) Feb 10 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (9/9) Feb 11 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (9/9) Feb 12 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
- d-bugmail puremagic.com (8/8) Feb 27 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12089
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Summary: std.utf.validate and inout(char[]) Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: john.loughran.colvin gmail.com 14:40:20 GMT --- import std.utf; void foo(inout(char[]) a) { validate(a); } /home/space/phujfj/Installations/dmd/include/std/utf.d(954): Error: template instance std.utf.codeUnitLimit!(const(inout(char)[])) does not match template declaration codeUnitLimit(S) if (isSomeChar!(ElementEncodingType!S)) /home/space/phujfj/Installations/dmd/include/std/utf.d(956): Error: template std.utf.decodeImpl cannot deduce function from argument types !(true)(const(inout(char)[]), ulong), candidates are: /home/space/phujfj/Installations/dmd/include/std/utf.d(1059): std.utf.decodeImpl(bool canIndex, S)(auto ref S str, ref size_t index) if (is(S : const(char[])) || isInputRange!S && is(Unqual!(ElementEncodingType!S) == char)) /home/space/phujfj/Installations/dmd/include/std/utf.d(1194): std.utf.decodeImpl(bool canIndex, S)(auto ref S str, ref size_t index) if (is(S : const(wchar[])) || isInputRange!S && is(Unqual!(ElementEncodingType!S) == wchar)) /home/space/phujfj/Installations/dmd/include/std/utf.d(1264): std.utf.decodeImpl(bool canIndex, S)(auto ref S str, ref size_t index) if (is(S : const(dchar[])) || isInputRange!S && is(Unqual!(ElementEncodingType!S) == dchar)) /home/space/phujfj/Installations/dmd/include/std/utf.d(2007): Error: template instance std.utf.decode!(const(inout(char)[])) error instantiating inouttest.d(4): instantiated from here: validate!(inout(char)[]) /home/space/phujfj/Installations/dmd/include/std/utf.d(2007): Error: decode (auto ref const(inout(char)[]) str, ref ulong index) is not callable using argument types (const(inout(char)[]), ulong) inouttest.d(4): Error: template instance std.utf.validate!(inout(char)[]) error instantiating -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 John Colvin <john.loughran.colvin gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |regression 08:11:35 GMT --- Marked as regression: this worked with 2.064 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 07 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid Component|Phobos |DMD Both compiler and Phobos fix are necessary. https://github.com/D-Programming-Language/dmd/pull/3239 https://github.com/D-Programming-Language/phobos/pull/1921 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 09 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/aaf4bd8df5f612bca0c80ed76b5d2fc3a7c3f23c fix Issue 12089 - std.utf.validate and inout(char[]) failts to compile https://github.com/D-Programming-Language/dmd/commit/c3b9b2497860e39b7ca5f4fd8da2f6ba75ef9e0c [REG2.065a] Issue 12089 - std.utf.validate and inout(char[]) failts to compile -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 09 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/2763ee14661faf985fe17df776e79365c80181ac fix Issue 12089 - std.utf.validate and inout(char[]) failts to compile Unqual should support inout(const(T)) https://github.com/D-Programming-Language/phobos/commit/a04db417369b197262d9f64a9c621eb64c3e078b [REG2.065a] Issue 12089 - std.utf.validate and inout(char[]) failts to compile -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Commit pushed to 2.065 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/8e8fd6490c06ca4c39b534b53927f6be829e1a88 [REG2.065a] Issue 12089 - std.utf.validate and inout(char[]) failts to compile -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 11 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/45fda4c7868fe0a85b7bdabbeca33c893b60c85a [REG2.065a] Issue 12089 - std.utf.validate and inout(char[]) failts to compile -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 12 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12089 Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/8e8fd6490c06ca4c39b534b53927f6be829e1a88 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 27 2014