Transform *Array.size to properties

This commit is contained in:
Denis Zharkov
2015-10-14 13:56:18 +03:00
parent b050324869
commit bd37a10677
38 changed files with 147 additions and 107 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
class A {
fun get(vararg x: Int) = x.size()
fun get(vararg x: Int) = x.size
}
class B {
fun get(vararg x: Unit) = x.size()
fun get(vararg x: Unit) = x.size
}
fun test1(a: A): Int {