Fix for a bug that caused invalid code generated for calling extension from another extension.

This commit is contained in:
Pavel V. Talanov
2012-07-31 13:15:12 +04:00
parent 7609d0de8c
commit e0ff877b47
6 changed files with 70 additions and 4 deletions
@@ -0,0 +1,14 @@
package foo
open class A() {
open fun c() = 2
}
class B(): A() {
}
fun B.d() = c() + 3
fun box() : Boolean {
return B().d() == 5
}