digitalmars.D.bugs - [Issue 204] New: Improve error message.
- d-bugmail puremagic.com (16/16) Jun 17 2006 http://d.puremagic.com/issues/show_bug.cgi?id=204
- Bruno Medeiros (7/28) Jun 18 2006 Who else thinks that this is a very badly constructed bug/issue report?
- Derek Parnell (6/25) Jun 18 2006 I didn't. I understood exactly what was being asked for.
- Bruno Medeiros (20/48) Jun 19 2006 It might be the case that you understood it, but it still was very badly...
- d-bugmail puremagic.com (15/15) Jun 18 2006 http://d.puremagic.com/issues/show_bug.cgi?id=204
- Thomas Kuehne (11/15) Jun 18 2006 -----BEGIN PGP SIGNED MESSAGE-----
- d-bugmail puremagic.com (13/13) Sep 28 2006 http://d.puremagic.com/issues/show_bug.cgi?id=204
- d-bugmail puremagic.com (5/5) Jan 26 2007 http://d.puremagic.com/issues/show_bug.cgi?id=204
- d-bugmail puremagic.com (5/5) Jan 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=204
- d-bugmail puremagic.com (6/9) Jan 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=204
- d-bugmail puremagic.com (7/14) Jan 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=204
- d-bugmail puremagic.com (9/9) Nov 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=204
- d-bugmail puremagic.com (4/4) Dec 04 2007 http://d.puremagic.com/issues/show_bug.cgi?id=204
http://d.puremagic.com/issues/show_bug.cgi?id=204 Summary: Improve error message. Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: dawid.ciezarkiewicz gmail.com map.d(165): cannot create instance of abstract class Droid Please add info about method which isn't implemented yet: "because XXX is abstract" or smth. If many - the first one is good enought. --
Jun 17 2006
d-bugmail puremagic.com wrote:http://d.puremagic.com/issues/show_bug.cgi?id=204 Summary: Improve error message. Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: dawid.ciezarkiewicz gmail.com map.d(165): cannot create instance of abstract class Droid Please add info about method which isn't implemented yet: "because XXX is abstract" or smth. If many - the first one is good enought.Who else thinks that this is a very badly constructed bug/issue report? This should be made into a proper report (clear and info-complete), or removed. -- Bruno Medeiros - CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Jun 18 2006
On Sun, 18 Jun 2006 23:23:49 +1000, Bruno Medeiros <brunodomedeirosATgmail SPAM.com> wrote:d-bugmail puremagic.com wrote:I didn't. I understood exactly what was being asked for. -- Derek Parnell Melbourne, Australiahttp://d.puremagic.com/issues/show_bug.cgi?id=204 Summary: Improve error message. Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: dawid.ciezarkiewicz gmail.com map.d(165): cannot create instance of abstract class Droid Please add info about method which isn't implemented yet: "because XXX is abstract" or smth. If many - the first one is good enought.Who else thinks that this is a very badly constructed bug/issue report?
Jun 18 2006
Derek Parnell wrote:On Sun, 18 Jun 2006 23:23:49 +1000, Bruno Medeiros <brunodomedeirosATgmail SPAM.com> wrote:It might be the case that you understood it, but it still was very badly constructed: The title/summary: "Improve error message." This is clearly an terrible summary, it is awfully generic and non-specific (!) . (What error message?) The description: The description doesn't mention what causes the error, either with a textual explanation or with a code example. Derek, you understood it because surely you have seen it before, but I haven't, and so, if it wasn't for Deewiant example I (and anybody else in my situation) would not be able to figure out what the error was about at all (!) . The categorization: This is not a bug, it is a feature request. So perhaps it should have been filed under Severity:"Enhancement". -- Bruno Medeiros - CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#Dd-bugmail puremagic.com wrote:I didn't. I understood exactly what was being asked for. --Derek Parnell Melbourne, Australiahttp://d.puremagic.com/issues/show_bug.cgi?id=204 Summary: Improve error message. Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: dawid.ciezarkiewicz gmail.com map.d(165): cannot create instance of abstract class Droid Please add info about method which isn't implemented yet: "because XXX is abstract" or smth. If many - the first one is good enought.Who else thinks that this is a very badly constructed bug/issue report?
Jun 19 2006
http://d.puremagic.com/issues/show_bug.cgi?id=204 To show the issue more clearly: -- class Foo { abstract void foo(); } class Bar : Foo {} void main() { Bar bar = new Bar(); } -- The code fails with "cannot create instance of abstract class Bar". What is being asked for is an error message which would, in this instance, clarify that the reason the instantiation fails is that the method foo() is unimplemented in Bar. --
Jun 18 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-06-17:http://d.puremagic.com/issues/show_bug.cgi?id=204map.d(165): cannot create instance of abstract class Droid Please add info about method which isn't implemented yet: "because XXX is abstract" or smth. If many - the first one is good enought.test case: http://dstress.kuehne.cn/nocompile/a/abstract_14.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFElewp3w+/yD4P9tIRAqxSAJ9wIBSDEwFdZFnsf/781kPSa9BJ7QCdHRcL L6F2nEP1Fjaia5NYMq1gvbQ= =gyTa -----END PGP SIGNATURE-----
Jun 18 2006
http://d.puremagic.com/issues/show_bug.cgi?id=204 digitalmars-com baysmith.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |digitalmars-com baysmith.com I think this is an important usability/productivity issue. Althought I don't know the internals of the DMD compiler, I would expect the compiler to know what is missing before deciding it can't create an instance. Therefore it should be a simple matter to add that information to the error message. In addition, I think this gives DMD, and hence the D language, a feeling of incompleteness. Something which may be a hinderance to wider usage. --
Sep 28 2006
http://d.puremagic.com/issues/show_bug.cgi?id=204 This is represented by dstress test: http://dstress.kuehne.cn/nocompile/a/abstract_14.d --
Jan 26 2007
http://d.puremagic.com/issues/show_bug.cgi?id=204 // __DSTRESS_ELINE__ 19 Why line 19? Why not 16, where the abstract method is declared? --
Jan 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=204// __DSTRESS_ELINE__ 19 Why line 19? Why not 16, where the abstract method is declared?I'd prefer both: 16 to indicate *which* abstract method isn't declared, and 19 to indicate *where* it isn't declared. --
Jan 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=204s/declared/implemented/g (For the less sed-aware: replace both instances of "declared" in above comment with "implemented") --// __DSTRESS_ELINE__ 19 Why line 19? Why not 16, where the abstract method is declared?I'd prefer both: 16 to indicate *which* abstract method isn't declared, and 19 to indicate *where* it isn't declared.
Jan 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=204 matti.niemenmaa+dbugzilla iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Fixed in 1.024. --
Nov 28 2007
http://d.puremagic.com/issues/show_bug.cgi?id=204 Fixed dmd 1.024 and 2.008 --
Dec 04 2007