3b613b3745
- Fix test data of light class tests
(SymbolLightClassesForLibraryTestGenerated).
- Revert the changes in kt8666.kt because they fail on JS IR, and it
seems that this test is mostly needed for JS anyway.
- Use 'invoke(' as the pattern in bytecode text tests because plain
'invoke' is used when these tests are run on JDK 11, where indy string
concatenation is enabled by default and therefore we reference
`java/lang/invoke/StringConcatFactory`.
11 lines
157 B
Kotlin
Vendored
11 lines
157 B
Kotlin
Vendored
// CHECK_BYTECODE_TEXT
|
|
// JVM_IR_TEMPLATES
|
|
// 0 invoke\(
|
|
|
|
class C(val x: String) {
|
|
fun foo(s: String) = x + s
|
|
}
|
|
|
|
fun box() =
|
|
C("O")::foo.invoke("K")
|