KT-1955 Half a file is red on incomplete code
#KT-1955 fixed
This commit is contained in:
@@ -252,7 +252,7 @@ public interface Errors {
|
||||
JetBlockExpression blockExpression = (JetBlockExpression)bodyExpression;
|
||||
TextRange lastBracketRange = blockExpression.getLastBracketRange();
|
||||
if (lastBracketRange == null) {
|
||||
return markElement(element);
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return markRange(lastBracketRange);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user