"Add not-null asserted (!!) call": add '!!' to receiver of function reference

#KT-37841 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-05-21 20:16:54 +09:00
committed by igoriakovlev
parent 5e5e19f482
commit 35459d2ca7
8 changed files with 86 additions and 7 deletions
@@ -641,6 +641,21 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
runTest("idea/testData/quickfix/addExclExclCall/array4.kt");
}
@TestMetadata("functionReference.kt")
public void testFunctionReference() throws Exception {
runTest("idea/testData/quickfix/addExclExclCall/functionReference.kt");
}
@TestMetadata("functionReference2.kt")
public void testFunctionReference2() throws Exception {
runTest("idea/testData/quickfix/addExclExclCall/functionReference2.kt");
}
@TestMetadata("functionReference3.kt")
public void testFunctionReference3() throws Exception {
runTest("idea/testData/quickfix/addExclExclCall/functionReference3.kt");
}
@TestMetadata("implicit.kt")
public void testImplicit() throws Exception {
runTest("idea/testData/quickfix/addExclExclCall/implicit.kt");