Make LateinitIntrinsicApplicabilityChecker warning for Native and JS
This checker was enabled only on JVM by mistake. It's now fixed, but we don't want to make it an error in minor release. So it will be an warning in 1.8.20 and an error in 1.9.0 ^KT-27002
This commit is contained in:
committed by
Space Team
parent
17e9a6a781
commit
4928e284f6
+12
@@ -30,6 +30,18 @@ public class FirOldFrontendNativeDiagnosticsTestGenerated extends AbstractFirNat
|
||||
runTest("compiler/testData/diagnostics/nativeTests/identifiers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isInitialized.kt")
|
||||
public void testIsInitialized() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitialized.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isInitializedError.kt")
|
||||
public void testIsInitializedError() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitializedError.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCName.kt")
|
||||
public void testObjCName() throws Exception {
|
||||
|
||||
+12
@@ -30,6 +30,18 @@ public class FirOldFrontendNativeDiagnosticsWithLightTreeTestGenerated extends A
|
||||
runTest("compiler/testData/diagnostics/nativeTests/identifiers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isInitialized.kt")
|
||||
public void testIsInitialized() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitialized.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isInitializedError.kt")
|
||||
public void testIsInitializedError() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitializedError.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCName.kt")
|
||||
public void testObjCName() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user