registerUnresolvedError is in base class in idea from br146

This commit is contained in:
Nikolay Krasko
2016-04-05 17:44:08 +03:00
parent 06a0ebe352
commit bea45ff2e5
@@ -119,12 +119,6 @@ class KotlinSmartEnterHandler: SmartEnterProcessorWithFixers() {
}
}
fun registerUnresolvedError(offset: Int) {
if (myFirstErrorOffset > offset) {
myFirstErrorOffset = offset
}
}
private fun PsiElement.isKotlinStatement() = when {
parent is KtBlockExpression && node?.elementType !in BRACES -> true
parent?.node?.elementType in BRANCH_CONTAINERS && this !is KtBlockExpression -> true