Add comment

This commit is contained in:
Alexey Sedunov
2014-10-20 18:13:19 +04:00
parent f7ef1c8d4d
commit 07dfde4d2d
@@ -516,6 +516,7 @@ fun ExtractableCodeDescriptor.generateDeclaration(options: ExtractionGeneratorOp
anchorCandidates.maxBy { it.getTextRange().getStartOffset() }!!
}
// Ascend to the level of targetSibling
val targetParent = targetSibling.getParent()
marginalCandidate.parents().first { it.getParent() == targetParent }
}