FIR: Load final static constant Java fields as non-nullable
This commit is contained in:
committed by
teamcityserver
parent
dba04bcf80
commit
46217318c0
+1
-1
@@ -1,5 +1,5 @@
|
||||
FILE: main.kt
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
lval project: R|ft<kotlin/String, kotlin/String?>| = Q|PlatformDataKeys|.R|/CommonDataKeys.PROJECT|
|
||||
lval project: R|kotlin/String| = Q|PlatformDataKeys|.R|/CommonDataKeys.PROJECT|
|
||||
lval member: R|ft<kotlin/String, kotlin/String?>| = R|/PlatformDataKeys.PlatformDataKeys|().R|/CommonDataKeys.MEMBER|
|
||||
}
|
||||
|
||||
+6
@@ -18080,6 +18080,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/arrayList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constantStaticStringField.kt")
|
||||
public void testConstantStaticStringField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/constantStaticStringField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullTypeParameterWithKotlinNullable.kt")
|
||||
public void testNotNullTypeParameterWithKotlinNullable() throws Exception {
|
||||
|
||||
+6
@@ -18080,6 +18080,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/arrayList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constantStaticStringField.kt")
|
||||
public void testConstantStaticStringField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/constantStaticStringField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullTypeParameterWithKotlinNullable.kt")
|
||||
public void testNotNullTypeParameterWithKotlinNullable() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user