More 182 branch mentioning remove

#KT-33536 Fixed
This commit is contained in:
Nikolay Krasko
2019-08-27 20:31:24 +03:00
parent 8ae4293a0f
commit 8218ca5bae
7 changed files with 6 additions and 36 deletions
@@ -9,7 +9,7 @@ import com.intellij.formatting.ASTBlock
import org.jetbrains.kotlin.idea.core.formatter.KotlinCodeStyleSettings
/*
* ASTBlock is nullable since 182, this extension was introduced to minimize changes between bunches
* ASTBlock.node is nullable, this extension was introduced to minimize changes
*/
fun ASTBlock.requireNode() = node ?: error("ASTBlock.getNode() returned null")