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

           Summary: No line number with private name found by "did you
                    mean"
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2012-12-02 11:23:46 PST ---
It seems the routine that finds similar names has to exclude not visibile
names:


import std.typetuple;
void main() {
    Park x;
}


DMD 2.061alpha gives two wrong error messages:

Error: module test std.typetuple.Pack(T...) is private
test.d(3): Error: undefined identifier Park, did you mean template Pack(T...)?


Expected error message:

test.d(3): Error: undefined identifier Park

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

Reply via email to