Fix KType.javaType for suspend function return type

#KT-26293 Fixed
This commit is contained in:
Alexander Udalov
2018-08-29 18:23:40 +02:00
parent fba539debf
commit ac14c5e74f
7 changed files with 62 additions and 1 deletions
@@ -16871,6 +16871,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reflection/mapping/types/supertypes.kt");
}
@TestMetadata("suspendFun.kt")
public void testSuspendFun() throws Exception {
runTest("compiler/testData/codegen/box/reflection/mapping/types/suspendFun.kt");
}
@TestMetadata("topLevelFunctions.kt")
public void testTopLevelFunctions() throws Exception {
runTest("compiler/testData/codegen/box/reflection/mapping/types/topLevelFunctions.kt");
@@ -17936,6 +17936,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reflection/mapping/types/supertypes.kt");
}
@TestMetadata("suspendFun.kt")
public void testSuspendFun() throws Exception {
runTest("compiler/testData/codegen/box/reflection/mapping/types/suspendFun.kt");
}
@TestMetadata("topLevelFunctions.kt")
public void testTopLevelFunctions() throws Exception {
runTest("compiler/testData/codegen/box/reflection/mapping/types/topLevelFunctions.kt");