Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 16, 2010 [Issue 3712] New: Error message without filename or line numbers on invalid code | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3712 Summary: Error message without filename or line numbers on invalid code Product: D Version: 1.054 Platform: Other OS/Version: All Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: nfxjfg@gmail.com --- Comment #0 from nfxjfg@gmail.com 2010-01-16 14:06:01 PST --- NOTE: this bug report is for dmd 1.055, but the list let's me select only up to dmd 1.054. I tested this only with dmd 1.055. This is expected to fail, but it outputs an error message without any filename, line number, or other context. This makes finding the error location very hard. Honestly, I don't even know why dmd has error report functions that apparently output error messages without location information. This happens both with the patch for bug 3685 applied or not applied. //compile with dmd -c //fails with: // Error: can only catch class objects, not 'void' //No further error messages, no filename, no line number. void foo(T)() { try { } catch (DmdFails e) { } } void x() { foo!(int)(); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 06, 2010 [Issue 3712] Error message without filename or line numbers on invalid code | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=3712 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au Version|1.055 |1.039 --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-05-06 14:28:41 PDT --- The 'undefined identifier' message was present in 1.037 but disappeared in 1.038 or 1.039. It is still correctly present in D2. The remaining message without line number shouldn't appear at all. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 07, 2011 [Issue 3712] Error message without filename or line numbers on invalid code | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=3712 nfxjfg@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 07, 2011 [Issue 3712] Error message without filename or line numbers on invalid code | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=3712 Brad Roberts <braddr@puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 06, 2011 [Issue 3712] Error message without filename or line numbers on invalid code | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=3712 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |WORKSFORME --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-04-05 22:06:40 PDT --- dmd 1.068 and 2.053 produce test.d(3): Error: undefined identifier DmdFails test.d(8): Error: template instance test.foo!(int) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation