Fix signature mapping for built-in methods inside erased inline class

This commit is contained in:
Mikhail Zarechenskiy
2018-06-18 15:09:27 +03:00
parent 8503194e0d
commit 6431934c13
9 changed files with 85 additions and 1 deletions
@@ -0,0 +1,12 @@
// !LANGUAGE: +InlineClasses
inline class UInt(val x: Int)
inline class UIntArray(private val storage: IntArray) : Collection<UInt> {
public override val size: Int get() = storage.size
override operator fun iterator() = TODO()
override fun contains(element: UInt): Boolean = TODO()
override fun containsAll(elements: Collection<UInt>): Boolean = TODO()
override fun isEmpty(): Boolean = TODO()
}