www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9196] New: Spellchecker suggestions hit private symbols (and cause bad diganostic)

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: dmitry.olsh gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh 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

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: -------
Dec 22 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9196


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-12-22
12:28:31 PST ---
*** This issue has been marked as a duplicate of issue 5839 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9196


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


--- Comment #2 from Dmitry Olshansky <dmitry.olsh gmail.com> 2012-12-22
12:30:07 PST ---
Not a duplicate - the test case in 5839 indeed works for me.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9196


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-12-22
12:32:02 PST ---
(In reply to comment #2)
 Not a duplicate - the test case in 5839 indeed works for me.

I've reopened the other issue, but you didn't give me enough time to do it. :) *** This issue has been marked as a duplicate of issue 5839 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 22 2012