498f2e534a
It's effectively a breaking change (^KT-62558) K2 assigns flexible type to all static fields (from Java) and, for example, `String? becomes String unlike K1. It affects IR signature generating. That's why signature dump is disabled for some tests. ^KT-57811 Fixed ^KT-61786 Fixed
7 lines
221 B
Plaintext
Vendored
7 lines
221 B
Plaintext
Vendored
FILE: main.kt
|
|
public final fun test(x1: R|kotlin/String?|): R|kotlin/String| {
|
|
lval x: R|kotlin/String?|
|
|
R|<local>/x| = R|<local>/x1| ?: Q|JavaClass|.R|/JavaClass.X*s|
|
|
^test R|<local>/x|
|
|
}
|