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
8 lines
187 B
Kotlin
Vendored
8 lines
187 B
Kotlin
Vendored
// IGNORE_ANNOTATIONS
|
|
|
|
inline class IT(val x: Int)
|
|
|
|
inline class InlineIterable(private val it: Iterable<IT>) : Iterable<IT> {
|
|
override fun iterator(): Iterator<IT> = it.iterator()
|
|
}
|