mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix: IDEA-79640 ('Evaluate expression' does not work with Groovy)(cherry picked from commit 0becb2a)
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ public class GroovyCodeFragmentFactory implements CodeFragmentFactory {
|
||||
javaText.append("if (java.util.Arrays.toString(new Exception().getStackTrace()).matches(\"[^,]+\\\\$\\\\$[A-Za-z0-9]{8}\\\\.[^,]+\\\\(" + s + ":\\\\d+\\\\), .+com\\\\.springsource\\\\.loaded\\\\..+\")) {\n");
|
||||
javaText.append(" |thiz0 = thiz;\n");
|
||||
javaText.append(" } else {\n");
|
||||
javaText.append(" |thiz0 = this.getClass();\n");
|
||||
javaText.append(" |thiz0 = this;\n");
|
||||
javaText.append(" }\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user