Files
kotlin-fork/idea/testData/debugger/fileRanking/parametersWithUnloadedClass.kt
T
Nikolay Krasko f9845bab54 Workaround for the case when some classes are unloaded during ranking (KT-25774)
It's important that ranking preserve order of files found
in findFilesByNameInPackage()

It's only a workaround because it's expected for debugger to have
classes unloaded and some valid variants might get bad rank and
rejected because of that.

 #KT-25774 Fixed
2018-08-02 14:38:28 +03:00

35 lines
403 B
Kotlin
Vendored

//FILE: a/a.kt
package a
import c.*
class B : A<SomeImpl>() {
override fun x(some: SomeImpl) {
foo()
}
}
// DO_NOT_LOAD: a.SomeImpl
class SomeImpl : Some()
//FILE: b/a.kt
package b
import c.*
class B : A<Some>() {
override fun x(some: Some) {
foo()
}
}
//FILE: c/c.kt
package c
open class Some
abstract class A<T: Some> {
abstract fun x(a: T)
}
fun foo() {}