mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
IDEA-370227 Error with quick evaluation in lambda expressions
(cherry picked from commit 0957f810d4a41d7aa787e68c6d65a5ccb63656ac) IJ-CR-159332 GitOrigin-RevId: a40a87e2baa3d629b7417da6821275246a64349e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
98194bc344
commit
d03cc01e1b
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.debugger.impl;
|
||||
|
||||
import com.intellij.debugger.engine.DebuggerUtils;
|
||||
@@ -150,7 +150,10 @@ public final class JavaEditorTextProviderImpl implements EditorTextProvider {
|
||||
}
|
||||
}
|
||||
else {
|
||||
while (context != null && !(context instanceof PsiStatement) && !(context instanceof PsiClass)) {
|
||||
while (context != null &&
|
||||
!(context instanceof PsiStatement) &&
|
||||
!(context instanceof PsiClass) &&
|
||||
!(context instanceof PsiParameterListOwner)) {
|
||||
context = context.getParent();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user