mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-86301 java.lang.IllegalArgumentException in TypeEvalContext in PyCharm 2025.3.0
GitOrigin-RevId: ff33ed66c8333e91ae6fea39dd8552ee950df60b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5e8f20e99e
commit
438edeef5b
@@ -418,7 +418,11 @@ public sealed class TypeEvalContext {
|
||||
}
|
||||
|
||||
private static boolean inPyiFile(@NotNull PsiElement element) {
|
||||
if (isPyiFile(element.getContainingFile())) {
|
||||
PsiFile containingFile = element.getContainingFile();
|
||||
if (containingFile == null) {
|
||||
return false;
|
||||
}
|
||||
if (isPyiFile(containingFile)) {
|
||||
return true;
|
||||
}
|
||||
PsiFile contextFile = getContextFile(element);
|
||||
|
||||
Reference in New Issue
Block a user