Fix deprecations in testData: js semantics.
This commit is contained in:
@@ -3,7 +3,7 @@ package foo
|
||||
|
||||
fun box(): Boolean {
|
||||
var result = false
|
||||
for (i in array(1))
|
||||
for (i in arrayOf(1))
|
||||
when (i) {
|
||||
1 -> result = true
|
||||
else -> result = false
|
||||
|
||||
Reference in New Issue
Block a user