digitalmars.D.bugs - [Issue 7447] New: Alias template within struct/class not visible when struct/class is accessed through an alias
- d-bugmail puremagic.com (39/39) Feb 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7447
- d-bugmail puremagic.com (12/12) Dec 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7447
http://d.puremagic.com/issues/show_bug.cgi?id=7447 Summary: Alias template within struct/class not visible when struct/class is accessed through an alias Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: smjg iname.com --- Comment #0 from Stewart Gordon <smjg iname.com> 2012-02-05 17:15:17 PST --- struct Qwert { template yuiop(int asdfg) { alias Qwert yuiop; } } void main() { alias Qwert Hjkl; alias Hjkl.yuiop!(1) Zxcvb; } ---------- alias_template.d(8): Error: alias alias_template.main.Hjkl template identifier y uiop is not a member of alias Hjkl alias_template.d(8): Error: alias alias_template.main.Hjkl template identifier y uiop is not a member of alias Hjkl alias_template.d(9): Error: no property 'yuiop!(1)' for type 'Qwert' alias_template.d(9): Error: alias Zxcvb cannot alias an expression __error ---------- DMD 2.057 Win32. No error in 1.071. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 05 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7447 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |FIXED --- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-12-02 11:39:30 PST --- Seems to work in 2.060 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 02 2012