mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-41061 Inline method
GitOrigin-RevId: d085c1e1b25ae9c42ae3d6a8bc735b46c784cbdb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
de22af3e8c
commit
18dcb8c149
+2
-6
@@ -91,7 +91,8 @@ public class PyTargetExpressionImpl extends PyBaseElementImpl<PyTargetExpression
|
||||
return this;
|
||||
}
|
||||
|
||||
private @Nullable PyType getTargetExpressionType(@NotNull TypeEvalContext context) {
|
||||
@Override
|
||||
public @Nullable PyType getType(@NotNull TypeEvalContext context, @NotNull TypeEvalContext.Key key) {
|
||||
if (PyNames.ALL.equals(getName())) {
|
||||
// no type for __all__, to avoid unresolved reference errors for expressions where a qualifier is a name
|
||||
// imported via __all__
|
||||
@@ -204,11 +205,6 @@ public class PyTargetExpressionImpl extends PyBaseElementImpl<PyTargetExpression
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PyType getType(@NotNull TypeEvalContext context, @NotNull TypeEvalContext.Key key) {
|
||||
return getTargetExpressionType(context);
|
||||
}
|
||||
|
||||
private @Nullable PyType getTargetTypeFromIterableUnpacking(@NotNull PySequenceExpression topmostContainingTupleOrList,
|
||||
@NotNull PyExpression assignedIterable,
|
||||
@NotNull TypeEvalContext context) {
|
||||
|
||||
Reference in New Issue
Block a user