Moved shouldUseInputVariable from Transformation to TransformationMatcher and changed its semantics a bit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
// IS_APPLICABLE_2: false
|
||||
import java.util.*
|
||||
|
||||
fun foo(list: List<String>) {
|
||||
val random = Random()
|
||||
<caret>for (s in list) {
|
||||
if (random.nextBoolean()) continue
|
||||
print(s)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user