Temp revert fix for KT-10591 as it causes non-obvious test breakage

This commit is contained in:
Dmitry Jemerov
2018-01-17 11:30:01 +01:00
parent a752f3f38e
commit ca57309374
5 changed files with 8 additions and 8 deletions
@@ -417,7 +417,7 @@ abstract class KotlinCommonBlock(
childrenAlignmentStrategy: CommonAlignmentStrategy,
wrappingStrategy: WrappingStrategy
): Sequence<ASTBlock> {
if (node.elementType == KtNodeTypes.FUN) {
if (node.elementType == KtNodeTypes.FUN && false /* TODO fix tests and restore */) {
val filteredChildren = node.children().filter {
it.textRange.length > 0 && it.elementType != TokenType.WHITE_SPACE
}