Wrap with let: fix it works correctly for invoking function type

#KT-39182 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-06-11 13:13:26 +09:00
committed by igoriakovlev
parent babdeacdaf
commit f6e70cfed8
6 changed files with 68 additions and 2 deletions
@@ -15474,6 +15474,16 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
runTest("idea/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt");
}
@TestMetadata("invokeFunctionType.kt")
public void testInvokeFunctionType() throws Exception {
runTest("idea/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt");
}
@TestMetadata("invokeFunctionType2.kt")
public void testInvokeFunctionType2() throws Exception {
runTest("idea/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt");
}
@TestMetadata("invokeUnsafe.kt")
public void testInvokeUnsafe() throws Exception {
runTest("idea/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt");