Fix NPE in KtSourceElement.elementType #KT-44152 Fixed

This commit is contained in:
Mikhail Glukhikh
2022-03-10 08:40:38 +03:00
committed by Space
parent 8c7a8edb75
commit 4178c8156a
4 changed files with 33 additions and 4 deletions
@@ -46857,6 +46857,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt");
}
@Test
@TestMetadata("kt44152.kt")
public void testKt44152() throws Exception {
runTest("compiler/testData/codegen/box/toArray/kt44152.kt");
}
@Test
@TestMetadata("returnToTypedArray.kt")
public void testReturnToTypedArray() throws Exception {