Convert to anonymous function: do not suggest for suspend functions

#KT-37842 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-03-30 12:18:53 +09:00
committed by Yan Zhulanow
parent ded996bdf7
commit a4239afcb3
3 changed files with 27 additions and 3 deletions
@@ -10528,6 +10528,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/lambdaToAnonymousFunction/returnUnit.kt");
}
@TestMetadata("suspendFunction.kt")
public void testSuspendFunction() throws Exception {
runTest("idea/testData/intentions/lambdaToAnonymousFunction/suspendFunction.kt");
}
@TestMetadata("underscoreParameter.kt")
public void testUnderscoreParameter() throws Exception {
runTest("idea/testData/intentions/lambdaToAnonymousFunction/underscoreParameter.kt");