mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-86672 Groovy compiler failed to make unable to resolve class SuccessfulCherryPickExecutor
This commit is contained in:
@@ -544,10 +544,6 @@ public class GroovycRunner {
|
||||
ensureWellFormed(field.getGenericType(), visited);
|
||||
}
|
||||
|
||||
for (Class inner : aClass.getDeclaredClasses()) {
|
||||
ensureWellFormed(inner, visited);
|
||||
}
|
||||
|
||||
Type superclass = aClass.getGenericSuperclass();
|
||||
if (superclass != null) {
|
||||
ensureWellFormed(aClass, visited);
|
||||
|
||||
@@ -665,6 +665,22 @@ public class Main {
|
||||
assert findClassFile("Client")
|
||||
}
|
||||
|
||||
public void "test ignore groovy internal non-existent interface helper inner class"() {
|
||||
myFixture.addFileToProject 'Foo.groovy', '''
|
||||
interface Foo {}
|
||||
|
||||
class Zoo {
|
||||
Foo foo() {}
|
||||
static class Inner implements Foo {}
|
||||
}
|
||||
|
||||
'''
|
||||
def bar = myFixture.addFileToProject 'Bar.groovy', 'class Bar { def foo = new Zoo.Inner() {} }'
|
||||
|
||||
assertEmpty make()
|
||||
assertEmpty compileFiles(bar.virtualFile)
|
||||
}
|
||||
|
||||
public void "test multiline strings"() {
|
||||
myFixture.addFileToProject 'Foo.groovy', '''class Foo {
|
||||
public static final String s = """
|
||||
|
||||
Reference in New Issue
Block a user