www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21413] New: Name lookup fails when the qualified name is used

https://issues.dlang.org/show_bug.cgi?id=21413

          Issue ID: 21413
           Summary: Name lookup fails when the qualified name is used
                    inside the module where the name is defined
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: mobile majumdar.org.uk

module a.b.m;

int hello() {
   return 42;
}

extern (C) void main() {
   assert (a.b.m.hello() == 42);
}

--
Nov 21 2020