KT-13025: when receiver of call of 'invoke' method is a Function, check whether receiver is an extension function and generate additional '.call' invocation. Fix #KT-13025

This commit is contained in:
Alexey Andreev
2016-07-12 16:34:09 +03:00
parent c767b3d0ac
commit df86840515
3 changed files with 29 additions and 1 deletions
@@ -61,4 +61,8 @@ public final class InvokeConventionTest extends AbstractExpressionTest {
public void testInvokeWithImplicitDispatchReceiverAndExtensionReceiver() throws Exception {
checkFooBoxIsOk();
}
public void testExtensionInvoke() throws Exception {
checkFooBoxIsOk();
}
}