[FIR] Reproduce KT-64609
^KT-64609
This commit is contained in:
committed by
Space Team
parent
af5f76048b
commit
1f46aed3e0
+6
@@ -483,6 +483,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
|||||||
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("inapplicableTargetPropertyImmutableInPrimaryConstructor.kt")
|
||||||
|
public void testInapplicableTargetPropertyImmutableInPrimaryConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/inapplicableTargetPropertyImmutableInPrimaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("IncDec.kt")
|
@TestMetadata("IncDec.kt")
|
||||||
public void testIncDec() throws Exception {
|
public void testIncDec() throws Exception {
|
||||||
|
|||||||
+6
@@ -483,6 +483,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
|||||||
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("inapplicableTargetPropertyImmutableInPrimaryConstructor.kt")
|
||||||
|
public void testInapplicableTargetPropertyImmutableInPrimaryConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/inapplicableTargetPropertyImmutableInPrimaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("IncDec.kt")
|
@TestMetadata("IncDec.kt")
|
||||||
public void testIncDec() throws Exception {
|
public void testIncDec() throws Exception {
|
||||||
|
|||||||
+6
@@ -483,6 +483,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
|||||||
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("inapplicableTargetPropertyImmutableInPrimaryConstructor.kt")
|
||||||
|
public void testInapplicableTargetPropertyImmutableInPrimaryConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/inapplicableTargetPropertyImmutableInPrimaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("IncDec.kt")
|
@TestMetadata("IncDec.kt")
|
||||||
public void testIncDec() throws Exception {
|
public void testIncDec() throws Exception {
|
||||||
|
|||||||
+6
@@ -483,6 +483,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
|||||||
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("inapplicableTargetPropertyImmutableInPrimaryConstructor.kt")
|
||||||
|
public void testInapplicableTargetPropertyImmutableInPrimaryConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/inapplicableTargetPropertyImmutableInPrimaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("IncDec.kt")
|
@TestMetadata("IncDec.kt")
|
||||||
public void testIncDec() throws Exception {
|
public void testIncDec() throws Exception {
|
||||||
|
|||||||
Vendored
+19
@@ -0,0 +1,19 @@
|
|||||||
|
// ISSUE: KT-64609
|
||||||
|
|
||||||
|
package second
|
||||||
|
|
||||||
|
annotation class Anno
|
||||||
|
|
||||||
|
class SimpleVarClass(
|
||||||
|
@Anno
|
||||||
|
@get:Anno
|
||||||
|
@set:Anno
|
||||||
|
@setparam:Anno
|
||||||
|
val constructorVariableWithAnnotations: Long,
|
||||||
|
) {
|
||||||
|
@Anno
|
||||||
|
@get:Anno
|
||||||
|
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@set:Anno<!>
|
||||||
|
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@setparam:Anno<!>
|
||||||
|
val memberVariableWithAnnotations: Long = 0L
|
||||||
|
}
|
||||||
Vendored
+19
@@ -0,0 +1,19 @@
|
|||||||
|
// ISSUE: KT-64609
|
||||||
|
|
||||||
|
package second
|
||||||
|
|
||||||
|
annotation class Anno
|
||||||
|
|
||||||
|
class SimpleVarClass(
|
||||||
|
@Anno
|
||||||
|
@get:Anno
|
||||||
|
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@set:Anno<!>
|
||||||
|
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@setparam:Anno<!>
|
||||||
|
val constructorVariableWithAnnotations: Long,
|
||||||
|
) {
|
||||||
|
@Anno
|
||||||
|
@get:Anno
|
||||||
|
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@set:Anno<!>
|
||||||
|
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@setparam:Anno<!>
|
||||||
|
val memberVariableWithAnnotations: Long = 0L
|
||||||
|
}
|
||||||
Generated
+6
@@ -483,6 +483,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
|||||||
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
runTest("compiler/testData/diagnostics/tests/implicitNothing.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("inapplicableTargetPropertyImmutableInPrimaryConstructor.kt")
|
||||||
|
public void testInapplicableTargetPropertyImmutableInPrimaryConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/inapplicableTargetPropertyImmutableInPrimaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("IncDec.kt")
|
@TestMetadata("IncDec.kt")
|
||||||
public void testIncDec() throws Exception {
|
public void testIncDec() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user