JS: prohibit non-abstract members of external interfaces, except for nullable properties. See KT-15308
This commit is contained in:
@@ -599,6 +599,12 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("nonAbstractMembersOfInterface.kt")
|
||||
public void testNonAbstractMembersOfInterface() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/native/nonAbstractMembersOfInterface.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("overrideOptionalParam.kt")
|
||||
public void testOverrideOptionalParam() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/native/overrideOptionalParam.kt");
|
||||
|
||||
Reference in New Issue
Block a user