digitalmars.D.bugs - [Issue 6117] New: Parameter names of equivalent function aliases are merged
- d-bugmail puremagic.com (29/29) Jun 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6117
- d-bugmail puremagic.com (12/12) Jun 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6117
http://d.puremagic.com/issues/show_bug.cgi?id=6117 Summary: Parameter names of equivalent function aliases are merged Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-06-06 16:44:01 PDT --- void function(int a, int b) x; void function(int c, int d) y; void main() { writeln(typeof(x).stringof); writeln(typeof(y).stringof); } Prints: void function(int a, int b) void function(int a, int b) It seems the two alias get merged into one, and y will resolve to x. I don't know what else could cause the loss of parameter names for y in this case. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6117 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |DUPLICATE --- Comment #1 from yebblies <yebblies gmail.com> 2011-06-12 14:55:23 PDT --- *** This issue has been marked as a duplicate of issue 3358 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 12 2011