JS backend: fixed smartcast when a call have implicit this or receiver.

This commit is contained in:
Zalim Bashorov
2014-02-11 13:00:38 +04:00
parent 40eaf49a8c
commit 37154e42d2
4 changed files with 132 additions and 6 deletions
@@ -31,4 +31,12 @@ public final class CastTest extends AbstractExpressionTest {
public void testCastToNotNullType() throws Exception {
checkFooBoxIsOk();
}
public void testSmartCastInExtensionFunction() throws Exception {
checkFooBoxIsOk();
}
public void testSmartCastInFunction() throws Exception {
checkFooBoxIsOk();
}
}