[FIR] Correctly determine primary constructor parameters scope for class initialization section
^KT-58135 Fixed
This commit is contained in:
committed by
Space Team
parent
7ee648a4f5
commit
913b55174d
+6
@@ -5770,6 +5770,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/constructorConsistency/outer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parametersVsPropertiesFromPrimaryConstructor.kt")
|
||||
public void testParametersVsPropertiesFromPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/constructorConsistency/parametersVsPropertiesFromPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
|
||||
+6
@@ -5770,6 +5770,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/constructorConsistency/outer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parametersVsPropertiesFromPrimaryConstructor.kt")
|
||||
public void testParametersVsPropertiesFromPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/constructorConsistency/parametersVsPropertiesFromPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user