b161839092
This reverts commit df046683cc.
KT-30695
13 lines
232 B
Kotlin
Vendored
13 lines
232 B
Kotlin
Vendored
fun <E : String?, T : ((CharSequence) -> Unit)?> foo(x: E, y: T) {
|
|
if (x != null) {
|
|
y(x)
|
|
}
|
|
|
|
if (y != null) {
|
|
<!INAPPLICABLE_CANDIDATE!>y<!>(x)
|
|
}
|
|
|
|
if (x != null && y != null) {
|
|
y(x)
|
|
}
|
|
} |