digitalmars.D.bugs - [Issue 14528] New: GIT HEAD: can't pass protected member to template
- via Digitalmars-d-bugs (34/34) Apr 29 2015 https://issues.dlang.org/show_bug.cgi?id=14528
https://issues.dlang.org/show_bug.cgi?id=14528 Issue ID: 14528 Summary: GIT HEAD: can't pass protected member to template by alias Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com This regression is an exacerbation of issue 13744 for protected members. ////////////// f.d ///////////// void tpl(alias a)() { a(); } ////////////// c.d ///////////// import f; class C { protected static void m() {} void fun() { tpl!m(); } } //////////////////////////////// Introduced in https://github.com/D-Programming-Language/dmd/pull/4558 --
Apr 29 2015