Files
Mikhail Glukhikh 78b6432ced K2: don't make T = Type! substitutions for constructors, including SAM
Without this commit we get some ABI changes and it looks bad.

Related to KT-65596
2024-03-11 13:38:05 +00:00

22 lines
782 B
Plaintext
Vendored

FILE: main.kt
private final val anyProperty: R|Property<kotlin/Any>| = R|/Property.Property|<R|kotlin/Any|>()
private get(): R|Property<kotlin/Any>|
private final val boundedProperty: R|Property<kotlin/String>| = R|/Property.Property|<R|kotlin/String|>()
private get(): R|Property<kotlin/String>|
public final fun test_1(x: R|Property<kotlin/Any>|): R|kotlin/Unit| {
when () {
(R|<local>/x| is R|Reference|) -> {
R|<local>/x|.R|SubstitutionOverride</Reference.id>|
}
}
}
public final fun test_2(x: R|Property<kotlin/String>|): R|kotlin/Unit| {
when () {
(R|<local>/x| is R|Reference|) -> {
R|<local>/x|.R|/Reference.id|
}
}
}