mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +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
9 lines
216 B
Kotlin
Vendored
9 lines
216 B
Kotlin
Vendored
// IGNORE_ANNOTATIONS
|
|
|
|
inline class IT(val x: Int)
|
|
|
|
inline class InlineMutableIterable(private val it: MutableIterable<IT>) : MutableIterable<IT> {
|
|
override fun iterator(): MutableIterator<IT> = it.iterator()
|
|
}
|
|
|