[Issue 9196] New: Spellchecker suggestions hit private symbols (and cause bad diganostic)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 22 12:23:59 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9196
Summary: Spellchecker suggestions hit private symbols (and
cause bad diganostic)
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: dmitry.olsh at gmail.com
--- Comment #0 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2012-12-22 12:23:59 PST ---
The following:
import std.typetuple;
void fn()
{
genericReplace(0, 0, 3);
}
Produces unexpected error message and features one without a line number:
Error: module dignostic std.typetuple.GenericReplace(args...) if (args.length
>= 2) is private
dignostic.d(5): Error: undefined identifier genericReplace, did you mean
template GenericReplace(args...) if (args.length >= 2)?
It shouldn't suggest private symbols from external modules (and I'd argue they
shouldn't be otherwise visible) nor print nonsense while trying to do it.
Tested on latest DMD from github master.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list