mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-138483 Issue with setting of dynamic variable in debugger of groovy script
This commit is contained in:
+1
-1
@@ -175,7 +175,7 @@ public class GroovyCodeFragmentFactory extends CodeFragmentFactory {
|
||||
"java.lang.Object |res = ((groovy.lang.MetaClassImpl)|emc).invokeStaticMethod(|clazz, \""
|
||||
).append(EVAL_NAME).append("\", |resVals);\n");
|
||||
}
|
||||
javaText.append("if (|res instanceof java.lang.Boolean) ((java.lang.Boolean) |res).booleanValue() else |res");
|
||||
javaText.append("|res");
|
||||
|
||||
final PsiElementFactory factory = JavaPsiFacade.getInstance(toEval.getProject()).getElementFactory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user