New J2K: convert vararg type parameter Java length call to Kotlin size call

This commit is contained in:
Ilya Kirillov
2019-06-10 10:03:36 +03:00
parent b211ae1070
commit 2aa20d003d
4 changed files with 26 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
//method
int nya(Object... objs) {
return objs.length;
}
+3
View File
@@ -0,0 +1,3 @@
fun nya(vararg objs: Any?): Int {
return objs.size
}