registerUnresolvedError is in base class in idea from br146
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user