Renamed and correct test data

This commit is contained in:
Valentin Kipyatkov
2015-07-21 13:10:33 +03:00
parent dee6bb2f49
commit 0c9401c953
21 changed files with 37 additions and 37 deletions
@@ -1,4 +1,4 @@
//IS_APPLICABLE: FALSE
// IS_APPLICABLE: false
// WITH_RUNTIME
fun b(c: List<String>) {
for ((<caret>indexVariable, d) in c.withIndex()) {
@@ -1,7 +0,0 @@
//IS_APPLICABLE: FALSE
//ERROR: Unresolved reference: b
fun foo() {
for (a <caret>in b) {
}
}
@@ -0,0 +1,7 @@
// IS_APPLICABLE: false
// ERROR: Unresolved reference: b
fun foo() {
for (a <caret>in b) {
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: IntArray) {
for (<caret>a in bar) {
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: IntArray) {
for ((index, a) in bar.withIndex()) {
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: Iterable<Int>) {
for (<caret>a in bar) {
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: Iterable<Int>) {
for ((index, a) in bar.withIndex()) {
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: Array<Object>) {
for (<caret>a in bar) {
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: Array<Object>) {
for ((index, a) in bar.withIndex()) {
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: String) {
for (<caret>a in bar) {
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_RUNTIME
fun foo(bar: String) {
for ((index, a) in bar.withIndex()) {