Bug 14528 – [REG2.058a] can't pass protected member to template by alias

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-04-30T02:33:00Z
Last change time
2015-06-17T21:05:51Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2015-04-30T02:33:42Z
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
Comment #1 by code — 2015-04-30T21:20:52Z
Also see issue 12856.
Comment #2 by k.hara.pg — 2015-06-09T12:10:47Z
Comment #3 by github-bugzilla — 2015-06-12T13:53:48Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1a92380f5a90a24eeadaecd4a8c3704fb65f96d7 fix Issue 14528 - can't pass protected member to template by alias https://github.com/D-Programming-Language/dmd/commit/fbb6e2a64a30314e6b92ff6f960115a156f3f329 Merge pull request #4730 from 9rnsr/fix14528 [REG2.058a] Issue 14528 - can't pass protected member to template by alias
Comment #4 by github-bugzilla — 2015-06-17T21:05:51Z