[Issue 21413] New: Name lookup fails when the qualified name is used inside the module where the name is defined
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 21 23:39:28 UTC 2020
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 at puremagic.com
Reporter: mobile at majumdar.org.uk
module a.b.m;
int hello() {
return 42;
}
extern (C) void main() {
assert (a.b.m.hello() == 42);
}
--
More information about the Digitalmars-d-bugs
mailing list