mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-17148: fixed according to IDEA-CR-5603
This commit is contained in:
@@ -517,14 +517,7 @@ public class PyCallExpressionHelper {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (callResultTypes.size() == 1) {
|
||||
return callResultTypes.iterator().next();
|
||||
}
|
||||
if (callResultTypes.size() > 1) {
|
||||
return PyUnionType.union(callResultTypes);
|
||||
}
|
||||
return null;
|
||||
return PyUnionType.union(callResultTypes);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user