digitalmars.D.bugs - [Issue 8180] New: UFCS writeln doesn't work with Tuples
- d-bugmail puremagic.com (28/28) Jun 01 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8180
- d-bugmail puremagic.com (14/14) Jun 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8180
- d-bugmail puremagic.com (11/11) Jun 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8180
- d-bugmail puremagic.com (10/10) Jun 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8180
http://d.puremagic.com/issues/show_bug.cgi?id=8180 Summary: UFCS writeln doesn't work with Tuples Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2012-06-01 13:25:28 PDT --- import std.stdio, std.typecons; void main() { static struct Foo { int x; } auto f = Foo(20); f.writeln(); // OK Tuple!(int) t = tuple(10); t.writeln(); // error } dmd 2.060alpha gives test.d(7): Error: not a property t.writeln test.d(7): Error: function expected before (), not writeln(t) of type void -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 01 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8180 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Component|Phobos |DMD Platform|x86 |All OS/Version|Windows |All --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2012-06-03 21:38:13 PDT --- This compiler bug. Changed 'component' to DMD. https://github.com/D-Programming-Language/dmd/pull/979 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8180 --- Comment #2 from github-bugzilla puremagic.com 2012-06-15 15:12:40 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e9538dc00db8789ab1f686f0a0a2bed7316ee794 fix Issue 8180 - UFCS writeln doesn't work with Tuples https://github.com/D-Programming-Language/dmd/commit/c7e14655b631365083c6577cd3212877fa87b713 Merge pull request #979 from 9rnsr/fix_ufcs Fix issue 8180 and increase consistency of UFCS lookup -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8180 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 15 2012