digitalmars.D.bugs - [Issue 11173] New: `public` alias to an instantiation of `private` template doesn't work
- d-bugmail puremagic.com (29/29) Oct 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11173
- d-bugmail puremagic.com (9/9) Oct 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11173
- d-bugmail puremagic.com (14/14) Oct 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11173
http://d.puremagic.com/issues/show_bug.cgi?id=11173 Summary: `public` alias to an instantiation of `private` template doesn't work Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: verylonglogin.reg gmail.com 13:36:15 MSD --- b.d: --- private void f(T)() { } alias fi = f!int; --- main.d: --- import b; void main() { fi(); } // Error: function b.f!int.f is not accessible from module main --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 05 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11173 Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/eeaa5f45b84f0bb1e344f763b1dd3959844b6c54 [Workaround] Add Issue 11173 workaround. Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11173 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 05 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11173 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid | CC| |andrej.mitrovich gmail.com Severity|normal |enhancement 05:10:42 PDT --- If it's not defined in the spec it's an enhancement. See also http://d.puremagic.com/issues/show_bug.cgi?id=4533 which asks for the opposite and the newsgroup discussion it links to. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 05 2013