mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
KT-19175: Compiler generates different bytecode when classes are compiled separately or together #KT-19175 Fixed
14 lines
429 B
Kotlin
Vendored
14 lines
429 B
Kotlin
Vendored
class Introspector {
|
|
inner class SchemaRetriever(val transaction: String) {
|
|
inline fun inSchema(crossinline modifier: (String) -> Unit) =
|
|
{ modifier(transaction) }()
|
|
|
|
internal fun retrieve() {
|
|
inSchema { schema -> "OK" }
|
|
}
|
|
}
|
|
}
|
|
|
|
// TESTED_OBJECT_KIND: innerClass
|
|
// TESTED_OBJECTS: Introspector$SchemaRetriever$inSchema$1, SchemaRetriever
|
|
// FLAGS: ACC_FINAL, ACC_PUBLIC |