[FE 1.0] Prohibit call of constructor of functional supertype
^KT-46344 ^KT-50730 Fixed
This commit is contained in:
committed by
teamcity
parent
ecc890efe8
commit
ff7eb79bb1
+12
@@ -4721,6 +4721,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/ClassObjects.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithFunctionSupertype_after.kt")
|
||||
public void testClassWithFunctionSupertype_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/classWithFunctionSupertype_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithFunctionSupertype_before.kt")
|
||||
public void testClassWithFunctionSupertype_before() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/classWithFunctionSupertype_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectOfPrivateClassVisibility.kt")
|
||||
public void testCompanionObjectOfPrivateClassVisibility() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user