Convert KFunction to Function in type mismatch fixes #KT-16770 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-05-03 21:03:37 +03:00
parent 25609f1159
commit 8c3e787584
12 changed files with 154 additions and 11 deletions
@@ -10858,6 +10858,31 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
runTest("idea/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt");
}
@TestMetadata("functionExtensionType.kt")
public void testFunctionExtensionType() throws Exception {
runTest("idea/testData/quickfix/typeMismatch/functionExtensionType.kt");
}
@TestMetadata("functionNestedType.kt")
public void testFunctionNestedType() throws Exception {
runTest("idea/testData/quickfix/typeMismatch/functionNestedType.kt");
}
@TestMetadata("functionNestedType2.kt")
public void testFunctionNestedType2() throws Exception {
runTest("idea/testData/quickfix/typeMismatch/functionNestedType2.kt");
}
@TestMetadata("functionReflectType.kt")
public void testFunctionReflectType() throws Exception {
runTest("idea/testData/quickfix/typeMismatch/functionReflectType.kt");
}
@TestMetadata("functionType.kt")
public void testFunctionType() throws Exception {
runTest("idea/testData/quickfix/typeMismatch/functionType.kt");
}
@TestMetadata("hasNextFunctionReturnTypeMismatch.kt")
public void testHasNextFunctionReturnTypeMismatch() throws Exception {
runTest("idea/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt");