digitalmars.D.bugs - [Issue 7796] New: std.typecons.Unique is using writeln without importing std.stdio
- d-bugmail puremagic.com (31/31) Mar 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7796
- d-bugmail puremagic.com (12/12) May 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7796
- d-bugmail puremagic.com (13/13) May 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7796
- d-bugmail puremagic.com (9/9) May 31 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7796
http://d.puremagic.com/issues/show_bug.cgi?id=7796 Summary: std.typecons.Unique is using writeln without importing std.stdio Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: simendsjo gmail.com --- Comment #0 from simendsjo <simendsjo gmail.com> 2012-03-29 10:52:51 PDT --- version(unittest) import core.vararg, std.stdio; (...) struct Unique(T) (...) this(RefT p) { writeln("Unique constructor with rvalue"); _p = p; } I guess those writeln's should be removed, or at least wrapped in version(unittest) blocks (or debug(typecons) or something) The following cannot even compile, so I guess no one is using it... import std.typecons; void main() { Unique!int i = 10; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7796 --- Comment #1 from github-bugzilla puremagic.com 2012-05-23 09:24:30 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/4ee4efe2b03d4d3221a96e06c6b10fd14350390e fix Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio https://github.com/D-Programming-Language/phobos/commit/4a88cd82bf8abba0c799fe01537187a105a08299 Merge pull request #601 from 9rnsr/fix7796 Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 23 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7796 --- Comment #2 from github-bugzilla puremagic.com 2012-05-23 11:17:01 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/61f991ba515c5cb48b636a8c803ebbb5804e8508 Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio. With Unique being a template, commit 4ee4efe (pull request #601) caused the messages to be printed for unittest builds of client code as well. https://github.com/D-Programming-Language/phobos/commit/a98fb93de808c99e0eba038d828b5cce2ee70ba5 Merge pull request #602 from klickverbot/trace-unique Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 23 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7796 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 31 2012