mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed broken test
test added for PY-1083
This commit is contained in:
@@ -115,7 +115,7 @@ public class PyParameterListImpl extends PyBaseElementImpl<PyParameterListStub>
|
||||
if (nextParameter.isKeywordContainer() || nextParameter.isPositionalContainer()) {
|
||||
++i;
|
||||
}
|
||||
if (nextParameter.isKeywordContainer() && j<anotherParametersLength && anotherParameters[j] instanceof PyNamedParameter) {
|
||||
while (nextParameter.isKeywordContainer() && j<anotherParametersLength && anotherParameters[j].hasDefaultValue()) {
|
||||
j++;
|
||||
}
|
||||
}
|
||||
@@ -127,7 +127,7 @@ public class PyParameterListImpl extends PyBaseElementImpl<PyParameterListStub>
|
||||
if (nextParameter.isKeywordContainer() || nextParameter.isPositionalContainer()) {
|
||||
++j;
|
||||
}
|
||||
if (nextParameter.isKeywordContainer() && i<parametersLength && parameters[i] instanceof PyNamedParameter) {
|
||||
while (nextParameter.isKeywordContainer() && i<parametersLength && parameters[i].hasDefaultValue()) {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user