KT-1519: Error calling native extension function from user defined extension function.

This commit is contained in:
pTalanov
2012-03-13 15:17:36 +04:00
parent 15437cbbf6
commit 8b984551c1
6 changed files with 76 additions and 5 deletions
@@ -0,0 +1,12 @@
package foo
class A() {
}
fun A.one() = 1
fun A.two() = one() + one()
fun box() : Boolean {
return (A().two() == 2)
}