JS backend: fixed smartcast when a call have implicit this or receiver.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user