Allow to move suspend lambda out of parentheses
#KT-26674 Fixed #KT-26676 Fixed
This commit is contained in:
+5
@@ -3387,6 +3387,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
public void testNoTwoConsequentLambdas() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/moveLambdaOutsideParentheses/noTwoConsequentLambdas.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendLambda.kt")
|
||||
public void testSuspendLambda() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/moveLambdaOutsideParentheses/suspendLambda.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("idea/testData/inspectionsLocal/moveSuspiciousCallableReferenceIntoParentheses")
|
||||
|
||||
@@ -5323,6 +5323,11 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
||||
runTest("idea/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendLambda.kt")
|
||||
public void testSuspendLambda() throws Exception {
|
||||
runTest("idea/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("toOuterClassMethod.kt")
|
||||
public void testToOuterClassMethod() throws Exception {
|
||||
runTest("idea/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt");
|
||||
|
||||
Reference in New Issue
Block a user