digitalmars.D.bugs - [Issue 6832] New: Can't test objects wrapped with alias this
- d-bugmail puremagic.com (24/24) Oct 19 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6832
- d-bugmail puremagic.com (8/16) Oct 19 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6832
- d-bugmail puremagic.com (12/12) Oct 21 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6832
- d-bugmail puremagic.com (12/12) Nov 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6832
http://d.puremagic.com/issues/show_bug.cgi?id=6832 Summary: Can't test objects wrapped with alias this Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-10-19 20:44:16 PDT --- class Foo { } struct Bar { Foo foo; alias foo this; } void main() { Bar bar; bar = new Foo; // ok assert(bar !is null); // ng } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 19 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6832 --- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-10-19 20:44:46 PDT --- test.d(9): Error: incompatible types for ((bar) !is (null)): 'Bar' and 'void*'(In reply to comment #0)class Foo { } struct Bar { Foo foo; alias foo this; } void main() { Bar bar; bar = new Foo; // ok assert(bar !is null); // ng }Error: incompatible types for ((bar) !is (null)): 'Bar' and 'void*' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 19 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6832 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, rejects-valid Platform|Other |All OS/Version|Windows |All --- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2011-10-21 05:09:58 PDT --- https://github.com/D-Programming-Language/dmd/pull/466 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 21 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6832 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED --- Comment #3 from Walter Bright <bugzilla digitalmars.com> 2011-11-15 21:23:08 PST --- https://github.com/D-Programming-Language/dmd/commit/57db617ba6eec8ce67bb3f20d33022d534a5dba2 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 15 2011