[Issue 3309] New: `Traits` : function parameters name
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 10 06:58:51 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3309
Summary: `Traits` : function parameters name
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: julien at onandon.be
--- Comment #0 from Julien Leclercq <julien at onandon.be> 2009-09-10 06:58:50 PDT ---
Created an attachment (id=448)
traits.c patch
Hello,
I'm trying to add a small __traits keyword to traits.c to get a function
parameter names, as :
void foo(in string name) would return [ "name" ];
void bar(in string firstname, in string lastname) would return [
"firstname", "lastname" ];
Thanks to Andrei & Walter for the first tips.
Please review the patch,
Thank you,
Julian.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list