[Issue 10140] New: confusing error message: X is private; undefined identifier Y, did you mean X

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 23 00:33:11 PDT 2013


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

           Summary: confusing error message: X is private; undefined
                    identifier Y, did you mean X
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thelastmammoth at gmail.com


--- Comment #0 from thelastmammoth at gmail.com 2013-05-23 00:33:10 PDT ---
----
import std.regex;
void main(){
    auto c=match(s,``);
}
----

Error: module bug std.regex.IR is private
bug.d(3): Error: undefined identifier s, did you mean enum IR?

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