fixed add parameter to parameter list

This commit is contained in:
Ekaterina Tuzova
2012-11-27 17:48:46 +04:00
parent 35f4e7314a
commit 1715bfa31a
@@ -42,7 +42,7 @@ public class PyParameterListImpl extends PyBaseElementImpl<PyParameterListStub>
if (paren != null && ")".equals(paren.getText())) {
ASTNode beforeWhat = paren.getNode(); // the closing paren will be this
PyParameter[] params = getParameters();
PyUtil.addListNode(this, param, beforeWhat, true, params.length == 0);
PyUtil.addListNode(this, param, beforeWhat, params.length == 0, true);
}
}