mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-131435 Debugger: quick evaluate: array initializer is suggested, but reported invalid
This commit is contained in:
+5
@@ -1249,6 +1249,11 @@ public class EvaluatorBuilderImpl implements EvaluatorBuilder {
|
||||
}
|
||||
}
|
||||
myResult = new ArrayInitializerEvaluator(evaluators);
|
||||
if (!(expression.getParent() instanceof PsiNewExpression)) {
|
||||
myResult = new NewArrayInstanceEvaluator(new TypeEvaluator(JVMNameUtil.getJVMQualifiedName(type)),
|
||||
null,
|
||||
myResult);
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user