New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2019-02-03 16:42:16 +03:00
committed by Ilya Kirillov
parent 7e30b9e7f5
commit f8b8d07621
27 changed files with 546 additions and 143 deletions
@@ -0,0 +1,8 @@
import java.util.ArrayList
internal class A {
private val field1: List<String?> = ArrayList()
val field2: List<String?> = ArrayList()
val field3: Int = 0
protected val field4: Int = 0
}
@@ -0,0 +1,8 @@
// !specifyLocalVariableTypeByDefault: true
fun foo(list: List<String?>?) {
val array: IntArray = IntArray(10)
for (i: Int in 0..9) {
array[i] = i
}
for (s: String? in list!!) print(s)
}