https://issues.dlang.org/show_bug.cgi?id=17908
Issue ID: 17908
Summary: Can't alias an overload set with disabled function
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
@disable void f();
void f(int){}
alias g=f;
void h(){ g(0); }
Error: function f is not callable because it is annotated with @disable
--
