[FIR] Fix unexpected primary constructor scope in secondary constructor
^KTIJ-23720 ^KT-56353 Fixed
This commit is contained in:
committed by
Space Team
parent
c25a5bc9c1
commit
7db32f6430
+6
@@ -1663,6 +1663,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/diagnostics/notASupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorParametersInSecondaryConstructor.kt")
|
||||
public void testPrimaryConstructorParametersInSecondaryConstructor() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/diagnostics/primaryConstructorParametersInSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorRequiredForDataClass.kt")
|
||||
public void testPrimaryConstructorRequiredForDataClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user