JS backend: fixed the division operation for integral types.

#KT-2342 fixed
This commit is contained in:
Zalim Bashorov
2013-07-22 20:37:58 +04:00
parent e8b95ca074
commit bf60cb2fee
3 changed files with 28 additions and 8 deletions
@@ -45,6 +45,11 @@ public final class NumberTest extends SingleFileTranslationTest {
fooBoxIsValue("SUCCESS");
}
// KT-2342 Type mismatch on Int division (JavaScript back-end)
public void testKt2342() throws Exception {
checkFooBoxIsOk();
}
public void testHexademicalConstant() throws Exception {
try {
fooBoxTest();