[FIR] avoid jumping from super type transformer for local classes to unresolved non-local classes
In the worst case, we will visit the entire hierarchy of a local class, where non-local classes are not yet resolved ^KT-56550
This commit is contained in:
committed by
Space Team
parent
6f584bcbe7
commit
ee74e10f28
@@ -0,0 +1,24 @@
|
||||
open class TopLevelClass {
|
||||
open fun foo(i: Int) {
|
||||
|
||||
}
|
||||
|
||||
open fun boo(b: String) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
open class AnotherTopLevelClass : TopLevelClass() {
|
||||
override fun foo(i: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
fun reso<caret>lveMe() {
|
||||
class LocalClass : AnotherTopLevelClass() {
|
||||
override fun foo(i: Int) {
|
||||
}
|
||||
|
||||
class NestedLocalClass
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user