[JS IR BE] Fix overriding property of Throwable

This commit is contained in:
Roman Artemev
2019-07-08 15:24:31 +03:00
committed by romanart
parent d9c6d38715
commit d4fb76c1da
4 changed files with 41 additions and 2 deletions
@@ -2697,6 +2697,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/expression/try/nestedTryCatchInCatch.kt");
}
@TestMetadata("overrideThrowableProperties.kt")
public void testOverrideThrowableProperties() throws Exception {
runTest("js/js.translator/testData/box/expression/try/overrideThrowableProperties.kt");
}
@TestMetadata("rethrowExceptionIfNotCaught.kt")
public void testRethrowExceptionIfNotCaught() throws Exception {
runTest("js/js.translator/testData/box/expression/try/rethrowExceptionIfNotCaught.kt");
@@ -2712,6 +2712,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/expression/try/nestedTryCatchInCatch.kt");
}
@TestMetadata("overrideThrowableProperties.kt")
public void testOverrideThrowableProperties() throws Exception {
runTest("js/js.translator/testData/box/expression/try/overrideThrowableProperties.kt");
}
@TestMetadata("rethrowExceptionIfNotCaught.kt")
public void testRethrowExceptionIfNotCaught() throws Exception {
runTest("js/js.translator/testData/box/expression/try/rethrowExceptionIfNotCaught.kt");