JS backend: Fix safe call side effects

This commit is contained in:
Erokhin Stanislav
2014-01-31 14:01:35 +04:00
parent 7f8c17d6af
commit 5d4cb1e065
6 changed files with 161 additions and 19 deletions
@@ -39,4 +39,12 @@ public final class SafeCallTest extends SingleFileTranslationTest {
public void testSafeCallReturnsNullIfFails() throws Exception {
fooBoxTest();
}
public void testSafeCallAndSideEffect() throws Exception {
checkFooBoxIsOk();
}
public void testSafeCallAndIntrinsic() throws Exception {
checkFooBoxIsOk();
}
}