Thread overview | |||||
---|---|---|---|---|---|
|
October 05, 2013 [Issue 11173] New: `public` alias to an instantiation of `private` template doesn't work | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-10-05 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: ------- |
October 05, 2013 [Issue 11173] `public` alias to an instantiation of `private` template doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=11173 --- Comment #1 from github-bugzilla@puremagic.com 2013-10-05 02:49:52 PDT --- 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: ------- |
October 05, 2013 [Issue 11173] `public` alias to an instantiation of `private` template doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | 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 --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-10-05 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: ------- |
Copyright © 1999-2021 by the D Language Foundation