October 17, 2017 [Issue 17908] New: Can't alias an overload set with disabled function | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation