Introduce synthetic scope for constructors of fun interfaces

#KT-37434 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-04-09 01:36:15 +03:00
parent e9e21caeaf
commit 9607739d30
10 changed files with 119 additions and 6 deletions
@@ -28,6 +28,11 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLib"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@TestMetadata("funConstructorCallJS.kt")
public void testFunConstructorCallJS() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/funConstructorCallJS.kt");
}
@TestMetadata("implementingFunction.kt")
public void testImplementingFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/implementingFunction.kt");