Some solution for the case when a property which is a function is called.

This commit is contained in:
pTalanov
2012-03-14 16:51:08 +04:00
committed by Pavel V. Talanov
parent 94f80b23fb
commit ad49ac158d
7 changed files with 79 additions and 14 deletions
@@ -85,9 +85,15 @@ public final class MiscTest extends AbstractExpressionTest {
checkFooBoxIsTrue("KT-817.kt");
}
//TODO: depends on KT-1198
//TODO: look into BindingContext.VARIABLE_REASSIGNMENT
public void testKt740_3() throws Exception {
checkFooBoxIsOk("KT-740-3.kt");
}
public void testFunInConstructor() throws Exception {
checkFooBoxIsTrue("funInConstructor.kt");
}
public void testPropertyAsFunCalledOnConstructor() throws Exception {
checkFooBoxIsTrue("propertyAsFunCalledOnConstructor.kt");
}
}