Typo correction

This commit is contained in:
Valentin Kipyatkov
2016-08-10 17:27:33 +03:00
parent 128896fa43
commit 1fece52170
@@ -225,7 +225,7 @@ object FindTransformationMatcher : TransformationMatcher {
val filter = filterTransformation?.effectiveCondition()
if (indexVariable != null) {
if (filterTransformation == null) return null // makes no sense, indexVariable must be always 0
if (filterTransformation == null) return null // makes no sense, indexVariable must be always null
if (filterTransformation.indexVariable != null) return null // cannot use index in condition for indexOfFirst/indexOfLast
//TODO: what if value when not found is not "-1"?