Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
January 01, 2013 [Issue 9250] New: Wrong error line number with an assignment | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9250 Summary: Wrong error line number with an assignment Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2013-01-01 08:22:13 PST --- struct Foo { ubyte u; alias this = u; } void main() { size_t[10] bar; // line 6, error // ... // ... // ... // ... Foo x = bar.length; } DMD 2.061alpha show a wrong line number for the error message, 6 instead of 11: test.d(6): Error: cannot implicitly convert expression (10u) of type uint to Foo -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 02, 2013 [Issue 9250] Wrong error line number with an assignment | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9250 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |andrej.mitrovich@gmail.com AssignedTo|nobody@puremagic.com |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-01 20:38:21 PST --- https://github.com/D-Programming-Language/dmd/pull/1427 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 05, 2013 [Issue 9250] Wrong error line number with an assignment | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9250 --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-04 18:54:04 PST --- (In reply to comment #1) > https://github.com/D-Programming-Language/dmd/pull/1427 Replaced with https://github.com/D-Programming-Language/dmd/pull/1433 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 05, 2013 [Issue 9250] Wrong error line number with an assignment | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9250 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies@gmail.com Resolution| |FIXED --- Comment #3 from yebblies <yebblies@gmail.com> 2013-01-05 18:28:23 EST --- https://github.com/D-Programming-Language/dmd/commit/d6f0ef93dbd4d88be7a69f85303f6230a02d58a9 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 05, 2013 [Issue 9250] Wrong line number for error involving length of a static array | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9250 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |All Summary|dmd 2.061 reports the wrong |Wrong line number for error |line number for an invalid |involving length of a |assignment error |static array OS/Version|Windows |All --- Comment #4 from yebblies <yebblies@gmail.com> 2013-01-05 21:17:41 EST --- This bug doesn't have much to do with assignment, and is most likely not specific to 2.061. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 05, 2013 [Issue 9250] Wrong line number for error involving length of a static array | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9250 --- Comment #5 from Pierre Rouleau <prouleau001@gmail.com> 2013-01-05 02:19:05 PST --- Thanks for clarifying! -- 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