A test for a default arg skip bug during the serialization.

This commit is contained in:
Alexander Gorshenev
2018-02-27 19:22:14 +03:00
committed by alexander-gorshenev
parent 07c5b2201c
commit 095cad4145
3 changed files with 14 additions and 0 deletions
@@ -0,0 +1,5 @@
inline val Int.prop get() = SomeDataClass(second = this)
data class SomeDataClass(val first: Int = 17, val second: Int = 19, val third: Int = 23)
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
println(666.prop)
}