mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
Move collectionStubMethodLowering before jvmInlineClassPhase, and make them interact properly. Note that some issues still remain in inline class <-> special bridges interaction. KT-40187 KT-42469
11 lines
353 B
Kotlin
Vendored
11 lines
353 B
Kotlin
Vendored
// IGNORE_ANNOTATIONS
|
|
|
|
inline class IK(val x: Int)
|
|
inline class IV(val x: Double)
|
|
|
|
inline class InlineMutableMapEntry(private val e: MutableMap.MutableEntry<IK, IV>) : MutableMap.MutableEntry<IK, IV> {
|
|
override val key: IK get() = e.key
|
|
override val value: IV get() = e.value
|
|
override fun setValue(newValue: IV): IV = e.setValue(newValue)
|
|
}
|