Fix common super type calculation for captured dynamic types

^KT-32499 Fixed
This commit is contained in:
victor.petukhov
2019-11-25 19:03:43 +03:00
parent 1c4c5520a2
commit dbacae94d0
5 changed files with 73 additions and 1 deletions
@@ -113,6 +113,16 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
runTest("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/callableReferences.kt");
}
@TestMetadata("capturedDynamic.kt")
public void testСapturedDynamic() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/capturedDynamic.kt");
}
@TestMetadata("capturedDynamicNI.kt")
public void testCapturedDynamicNI() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/capturedDynamicNI.kt");
}
@TestMetadata("classDelegateBy.kt")
public void testClassDelegateBy() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/classDelegateBy.kt");