FE: Warn about generic inline class parameter in LV < 1.8

#KT-54192 Fixed
This commit is contained in:
Ilmir Usmanov
2022-09-27 04:30:46 +02:00
committed by Space
parent 252dc01dd5
commit 4a10dbf383
9 changed files with 78 additions and 112 deletions
@@ -33418,6 +33418,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/valueClasses/valueClassWithForbiddenUnderlyingTypeMultiField.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithUniversal());
}
@Test
@TestMetadata("valueClassWithGenericUnderlyingTypeNoFeature.kt")
public void testValueClassWithGenericUnderlyingTypeNoFeature() throws Exception {
runTest("compiler/testData/diagnostics/tests/valueClasses/valueClassWithGenericUnderlyingTypeNoFeature.kt");
}
@Test
@TestMetadata("valueClassesInsideAnnotations.kt")
public void testValueClassesInsideAnnotations() throws Exception {