KT-12254 Prevent JsEmptyExpression from getting into initializer JS when compiling code like val x = throw Exception()
This commit is contained in:
@@ -34,4 +34,8 @@ public class InitializerTest extends SingleFileTranslationTest {
|
||||
public void testClassInitializer() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testDeclarationInitializedWithThrow() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user