December 12 [Issue 24893] Member functions passed by AliasTemplateParameter are not callable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24893 --- Comment #1 from basile-z <b2.temp@gmx.com> --- A more reasonable test case, with no virtual calls and also no invalid syntax (Fun(a) is not supposed to work in D) ``` class A { final void af(){} } class B : A { final void bf() { alias Fun = A.af; test!(Fun)(this); // same errors test!(A.af)(this); test!(super.af)(this); } } void test(alias Fun)(A a) { a.Fun(); } void main() { (new B).bf(); } ``` -- |
December 13 [Issue 24893] Member functions passed by AliasTemplateParameter are not callable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24893 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20556 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation