May 19, 2011 [Issue 6033] New: Better error message with numbers with leading zeros | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6033 Summary: Better error message with numbers with leading zeros Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2011-05-18 17:46:39 PDT --- Given that now there are no octal number literals in D2, I suggest to give a better error message in this case (09 is not an octal number anyway): void main() { auto array = [09]; } DMD 2.053 prints: test.d(2): comma expected separating array initializers, not 9 test.d(2): semicolon expected following auto declaration, not ']' test.d(2): found ']' instead of statement -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 17, 2013 [Issue 6033] Better error message with numbers with leading zeros | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6033 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisProg@gmx.com --- Comment #1 from yebblies <yebblies@gmail.com> 2013-01-17 13:13:12 EST --- *** Issue 8345 has been marked as a duplicate of this issue. *** -- 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