digitalmars.D.bugs - [Issue 17908] New: Can't alias an overload set with disabled function
- d-bugmail puremagic.com (19/19) Oct 17 2017 https://issues.dlang.org/show_bug.cgi?id=17908
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: nobody puremagic.com Reporter: dfj1esp02 sneakemail.com 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 --
Oct 17 2017