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: nob...@puremagic.com
        ReportedBy: jul...@onandon.be


--- Comment #0 from Julien Leclercq <jul...@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: -------

Reply via email to