https://issues.dlang.org/show_bug.cgi?id=16957
Issue ID: 16957
Summary: access function from inside template with same name
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
auto a() { return 1; }
enum a() = .a();
enum b = a!();
test.d(2): Error: none of the overloads of 'a' are callable using argument
types (), candidates are:
test.d(1): test.a()
test.d(3): Error: template instance test.a!() error instantiating
--