[JS IR] Fix unsgined integer default arguemtns (KT-44180)

Const lowering didn't exprect null constants with unsigned number
types and crashed with NPE. This commit fixes that.
This commit is contained in:
Svyatoslav Kuzmich
2021-01-11 17:00:05 +03:00
parent 0110b4e4b4
commit 2d88ff6fb2
10 changed files with 61 additions and 1 deletions
@@ -30348,6 +30348,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/unsignedTypes/checkBasicUnsignedLiterals.kt");
}
@TestMetadata("defaultArguments.kt")
public void testDefaultArguments() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/defaultArguments.kt");
}
@TestMetadata("equalsImplForInlineClassWrappingNullableInlineClass.kt")
public void testEqualsImplForInlineClassWrappingNullableInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/equalsImplForInlineClassWrappingNullableInlineClass.kt");