Test for getters/setters added

This commit is contained in:
Konstantin Anisimov
2016-11-15 16:36:48 +03:00
committed by vvlevchenko
parent f393dc3a03
commit f80697817e
5 changed files with 41 additions and 4 deletions
@@ -0,0 +1,5 @@
class A(val a:Int) {
fun foo(i:Int) = a + i
}
fun fortyTwo() = A(41).foo(1)