mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 15:54:05 +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
10 lines
251 B
Kotlin
Vendored
10 lines
251 B
Kotlin
Vendored
// IGNORE_ANNOTATIONS
|
|
|
|
inline class IK(val x: Int)
|
|
inline class IV(val x: Double)
|
|
|
|
inline class InlineMapEntry(private val e: Map.Entry<IK, IV>) : Map.Entry<IK, IV> {
|
|
override val key: IK get() = e.key
|
|
override val value: IV get() = e.value
|
|
}
|