9be819087a
Callable symbols with SinceKotlin are filtered out by a resolution stage, but in K1 classifiers and property accessors report API_NOT_AVAILABLE. K2 filters out properties with unavailable accessors, but does nothing for classifiers. This change fixes it. ^KT-54410 Fixed
9 lines
347 B
Kotlin
Vendored
9 lines
347 B
Kotlin
Vendored
// API_VERSION: 1.7
|
|
|
|
import kotlin.io.path.<!API_NOT_AVAILABLE!>OnErrorResult<!>
|
|
|
|
fun fun0 (): Unit {
|
|
val something1 = <!API_NOT_AVAILABLE, OPT_IN_USAGE_ERROR!>OnErrorResult<!>.<!OPT_IN_USAGE_ERROR!>TERMINATE<!>
|
|
val something2 = kotlin.io.path.<!API_NOT_AVAILABLE, OPT_IN_USAGE_ERROR!>OnErrorResult<!>.<!OPT_IN_USAGE_ERROR!>TERMINATE<!>
|
|
}
|