diff --git a/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt b/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt index b20ee3ad39b..6e8abd47fa6 100644 --- a/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt +++ b/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt @@ -1,3 +1,5 @@ +// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Boolean? + fun test(a: Any) { val b = a as Boolean?; !b diff --git a/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt.after b/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt.after index 3e2b188be45..8a59068919f 100644 --- a/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt.after +++ b/idea/testData/inspectionsLocal/redundantSemicolon/betweenNullableTypeAndNotOperator.kt.after @@ -1,3 +1,5 @@ +// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Boolean? + fun test(a: Any) { val b = a as Boolean? !b