Moved shouldUseInputVariable from Transformation to TransformationMatcher and changed its semantics a bit

This commit is contained in:
Valentin Kipyatkov
2016-08-12 17:14:37 +03:00
parent a5c7d4f1fd
commit e32724330f
9 changed files with 51 additions and 14 deletions
@@ -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)
}
}