[Issue 10241] New: Probably wrong "did you mean" suggestion in error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 2 05:48:50 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10241

           Summary: Probably wrong "did you mean" suggestion in error
                    message
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-06-02 05:48:49 PDT ---
import std.stdio;
void main() {
    pre = 0;
}


Gives a strange error message, DMD 2.064alpha: 

test.d(3): Error: undefined identifier pre, did you mean import core?

-- 
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