Receivers made available at CallResolver

This commit is contained in:
Andrey Breslav
2011-10-10 21:38:40 +04:00
parent 114763b0b2
commit a39379edbf
19 changed files with 769 additions and 436 deletions
@@ -0,0 +1,16 @@
trait B {
fun bar() {}
}
class C() {
fun bar() {
}
}
fun test(a : Any?) {
if (a is B) {
if (a is C) {
a.<!OVERLOAD_RESOLUTION_AMBIGUITY!>bar()<!>;
}
}
}