Summary: Template parameter declaration does name lookup
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Peter Alexander <> 2011-10-03 
15:07:40 PDT ---
private int X;

import foo;

int bar(int X)() // error: foo.X is private
    return 0;

int main()
    return bar!(0)();

It happens for template type parameters as well, but you don't notice it due to
bug 2830.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to