Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 07, 2012 [Issue 8516] New: std.string.representation works incorrect for shared(const(T)) types | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8516 Summary: std.string.representation works incorrect for shared(const(T)) types Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-08-07 11:16:46 MSD --- --- import std.string; static assert(is(typeof(representation(cast(shared(const(char))[]) "hello")) == shared(const(ubyte)))); // Fails --- Also `representation` implementation is ugly and documentation tells that it "Returns the representation type" that is incorrect because it returns a value as it's a function. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 07, 2012 [Issue 8516] std.string.representation works incorrect for shared(const(T)) types | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8516 --- Comment #1 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-08-07 11:18:44 MSD --- https://github.com/D-Programming-Language/phobos/pull/742 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 13, 2012 [Issue 8516] std.string.representation works incorrect for shared(const(T)) types | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8516 --- Comment #2 from github-bugzilla@puremagic.com 2012-08-12 19:21:14 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/ef10bdf6bcc27eebe6f6911214e0fd285fa6018f Fix Issue 8516 - std.string.representation works incorrect for shared(const(T)) types https://github.com/D-Programming-Language/phobos/commit/e68ec9c4d04f66a6c9155326d0b831c2b82898da Merge pull request #742 from denis-sh/fix-issue-8516 Fix Issue 8516 - std.string.representation works incorrect for shared(const(T)) types -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 21, 2012 [Issue 8516] std.string.representation works incorrect for shared(const(T)) types | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8516 klickverbot <code@klickverbot.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |code@klickverbot.at Resolution| |FIXED --- Comment #3 from klickverbot <code@klickverbot.at> 2012-08-21 08:31:53 PDT --- Fixed in Git master. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation