b943ed26f3
Similarly to pre-release classes, load metadata for the class anyway and allow the resolution to select it as the result and prohibit its usage in the end with the special diagnostic reported in MissingDependencyClassChecker
16 lines
261 B
Kotlin
Vendored
16 lines
261 B
Kotlin
Vendored
package usage
|
|
|
|
import a.*
|
|
|
|
fun baz(param: A, nested: A.Nested) {
|
|
val constructor = A()
|
|
val nested = A.Nested()
|
|
val methodCall = param.method()
|
|
val supertype = object : A() {}
|
|
|
|
val x = foo()
|
|
val y = bar
|
|
bar = 239
|
|
val z: TA = ""
|
|
}
|