Can be replaced with binary operator: do not report if it leads to an error/warning after conversion
#KT-25050 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
81d01a8f8e
commit
43b106fc72
+5
@@ -3074,6 +3074,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/conventionNameCalls/replaceCallWithBinaryOperator/notOperatorPlus.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("operatorCannotBeApplied.kt")
|
||||
public void testOperatorCannotBeApplied() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/conventionNameCalls/replaceCallWithBinaryOperator/operatorCannotBeApplied.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("plusFromJava.kt")
|
||||
public void testPlusFromJava() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/conventionNameCalls/replaceCallWithBinaryOperator/plusFromJava.kt");
|
||||
|
||||
Reference in New Issue
Block a user