www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7956] New: Missing error line number with wrong function name

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

           Summary: Missing error line number with wrong function name
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



Wrong D2 code:


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


DMD 2.060alpha shows:

test.d: Error: module test std.stdio.fopen is private
test.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: -------
Apr 20 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7956




11:41:08 PST ---
*** Issue 9104 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: -------
Dec 02 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7956




Sorry for the dupes, Andrej.


In dmd 2.061alpha the error messages are now worsened:

Error: module test std.stdio.fopen is private
test.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: -------
Dec 02 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7956


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com



11:56:46 PST ---

 Sorry for the dupes, Andrej.
No problem. This spellchecker issue is reported in multiple places by multiple people, it's a common occurrence. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 02 2012