digitalmars.D.bugs - [Issue 5156] New: Wrong type inference for array literals containing classes
- d-bugmail puremagic.com (23/23) Nov 02 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5156
- d-bugmail puremagic.com (10/10) Nov 02 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5156
- d-bugmail puremagic.com (13/13) Nov 02 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5156
http://d.puremagic.com/issues/show_bug.cgi?id=5156 Summary: Wrong type inference for array literals containing classes Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: simen.kjaras gmail.com PDT --- class A{} class B:A{} class C:A{} auto a = [new B, new C]; // Fails a clearly should be of type A[], but such is not the case. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 02 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5156 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc I think this is a dupe, see bug 4030 and bug 3543 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 02 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5156 Simen Kjaeraas <simen.kjaras gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE PDT --- You're right. 3543 shows another problem too, and I focused mostly on that (the ?: example). *** This issue has been marked as a duplicate of issue 3543 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 02 2010