Fix PSI consistency test accordingly to changes in RawFirBuilder
This commit is contained in:
committed by
teamcity
parent
2ac2fa5353
commit
582e8fc9ad
+1
@@ -283,6 +283,7 @@ class RawFirBuilderTotalKotlinTestCase : AbstractRawFirBuilderTestCase() {
|
|||||||
it.getStrictParentOfType<KtImportDirective>() != null ||
|
it.getStrictParentOfType<KtImportDirective>() != null ||
|
||||||
(it is KtPropertyAccessor && !it.hasBody()) ||
|
(it is KtPropertyAccessor && !it.hasBody()) ||
|
||||||
it is KtDestructuringDeclarationEntry && it.text == "_" ||
|
it is KtDestructuringDeclarationEntry && it.text == "_" ||
|
||||||
|
it is KtIfExpression && it.parent is KtContainerNodeForControlStructureBody && it.parent.parent is KtIfExpression ||
|
||||||
it is KtConstantExpression && it.parent.let { parent ->
|
it is KtConstantExpression && it.parent.let { parent ->
|
||||||
parent is KtPrefixExpression && (parent.operationToken == KtTokens.MINUS || parent.operationToken == KtTokens.PLUS)
|
parent is KtPrefixExpression && (parent.operationToken == KtTokens.MINUS || parent.operationToken == KtTokens.PLUS)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user