Issue #159 AS3: fixed Improper rest parameter handling on MethodInfo tab

This commit is contained in:
Jindra Petk
2013-06-24 19:27:00 +02:00
parent 446d7916a8
commit a6dbb5ea6b

View File

@@ -102,7 +102,10 @@ public class MethodInfoPanel extends JPanel {
p++;
}
if (methodInfo.flagNeed_rest()) {
ret += ",\n... rest";
if (p > 0) {
ret += ",\n";
}
ret += "... rest";
}
paramEditor.setText(ret);
if (methodInfo.ret_type == 0) {