[JS FIR] Fix the JsExport diagnostic for nullable primitive types
- Correctly handle nullable primitive types. - Unsigned primitive arrays are not exportable. ^KT-64366 Fixed
This commit is contained in:
committed by
Space Team
parent
c4fc0b919d
commit
89e2af2047
+6
@@ -486,6 +486,12 @@ public class FirPsiJsOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiJ
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/nonConsumableIdentifiersInExportedFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveNullableTypes.kt")
|
||||
public void testPrimitiveNullableTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/primitiveNullableTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondaryConstructorWithoutJsName.kt")
|
||||
public void testSecondaryConstructorWithoutJsName() throws Exception {
|
||||
|
||||
Generated
+6
@@ -486,6 +486,12 @@ public class DiagnosticsWithJsStdLibTestGenerated extends AbstractDiagnosticsTes
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/nonConsumableIdentifiersInExportedFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveNullableTypes.kt")
|
||||
public void testPrimitiveNullableTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/primitiveNullableTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondaryConstructorWithoutJsName.kt")
|
||||
public void testSecondaryConstructorWithoutJsName() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user