Thread overview | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 13, 2011 [Issue 5839] New: No error line number with "did you mean" of private symbol | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5839 Summary: No error line number with "did you mean" of private symbol Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: critical Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2011-04-12 18:21:06 PDT --- D2 program: import std.random; void main() { int[int] aa; aa[seep] ~= 0; } DMD 2.052 shows an error without line number: test.d: Error: module test std.random.seed is private test.d(4): Error: undefined identifier seep, did you mean variable seed? Marked as critical because Don asked me to do this in a comment of bug 5745 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 21, 2011 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 Stewart Gordon <smjg@iname.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg@iname.com Summary|No error line number with |Spellchecker matches |"did you mean" of private |private symbols outside of |symbol |the module, leading to | |extra, broken error | |messages --- Comment #1 from Stewart Gordon <smjg@iname.com> 2011-04-21 14:02:45 PDT --- That error message shouldn't be there at all. The only output it should give is test.d(4): Error: undefined identifier seep -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 08, 2011 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #2 from kennytm@gmail.com 2011-05-08 13:31:38 PDT --- *** Issue 5961 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: ------- |
January 21, 2012 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |WORKSFORME --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2012-01-20 20:47:55 PST --- Now it gives: foo.d(4): Error: undefined identifier seep -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 22, 2012 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry.olsh@gmail.com --- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-22 12:28:31 PST --- *** Issue 9196 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: ------- |
December 22, 2012 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #5 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-22 12:30:37 PST --- (In reply to comment #3) > Now it gives: > > foo.d(4): Error: undefined identifier seep This still hasn't fixed the root issue, the problem is in the spellchecker and the OP sample is just one of many examples which triggers the problem. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 22, 2012 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 --- Comment #6 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-22 12:32:02 PST --- *** Issue 9196 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: ------- |
December 22, 2012 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 --- Comment #7 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-22 12:32:53 PST --- (In reply to comment #5) > (In reply to comment #3) > > Now it gives: > > > > foo.d(4): Error: undefined identifier seep > > This still hasn't fixed the root issue, the problem is in the spellchecker and the OP sample is just one of many examples which triggers the problem. Sample in git-head from http://d.puremagic.com/issues/show_bug.cgi?id=9196: import std.typetuple; void fn() { genericReplace(0, 0, 3); } There are many many more examples, and there are probably other dupe reports opened on issues like this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 16, 2013 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Platform|x86 |All AssignedTo|nobody@puremagic.com |andrej.mitrovich@gmail.com OS/Version|Windows |All --- Comment #8 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-15 18:17:35 PST --- https://github.com/D-Programming-Language/dmd/pull/1663 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 04, 2013 [Issue 5839] Spellchecker matches private symbols outside of the module, leading to extra, broken error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5839 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thelastmammoth@gmail.com --- Comment #9 from yebblies <yebblies@gmail.com> 2013-08-04 22:07:35 EST --- *** Issue 10140 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