f9845bab54
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
35 lines
403 B
Kotlin
Vendored
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() {} |