www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8426] New: Spell corrector for wrong function names looks in the wrong places

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8426

           Summary: Spell corrector for wrong function names looks in the
                    wrong places
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



import std.stdio;
void main() {
    open("data");
}



DMD 2.060beta gives an useless error message (with no line number), followed by
a wrong suggestion:

Error: module temp std.stdio.fopen is private
temp.d(3): Error: undefined identifier open, did you mean function fopen?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 24 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8426


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

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



22:00:16 PST ---
The error message is better now, however the private symbol being recommended
is another case of Issue 5389.

*** This issue has been marked as a duplicate of issue 5389 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 09 2013