RESOLVED FIXED 75830
[Refactoring] Use join(", ", @arguments) to build a method argument string in CodeGeneratorJS.pm
https://bugs.webkit.org/show_bug.cgi?id=75830
Summary [Refactoring] Use join(", ", @arguments) to build a method argument string in...
Kentaro Hara
Reported 2012-01-09 00:06:40 PST
This is a refactoring for implementing the [Supplemental] IDL for methods (bug 72138). The code in CodeGeneratorJS.pm to build a method argument string is dirty and error-prone. It is concatenating arguments one by one judging whether ", " is necessary or not. Instead, we should refactor the code so that it pushes all arguments into @arguments and then build a method string by join(", ", @arguments).
Attachments
Patch (6.43 KB, patch)
2012-01-09 00:10 PST, Kentaro Hara
no flags
Kentaro Hara
Comment 1 2012-01-09 00:10:28 PST
WebKit Review Bot
Comment 2 2012-01-09 01:38:54 PST
Comment on attachment 121626 [details] Patch Clearing flags on attachment: 121626 Committed r104443: <http://trac.webkit.org/changeset/104443>
WebKit Review Bot
Comment 3 2012-01-09 01:38:58 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.