changed resolution candidates order

for foo()
first try 'this.foo()', then 'foo()'
This commit is contained in:
Svetlana Isakova
2013-06-05 20:29:24 +04:00
parent 12ef42b6ae
commit 4e6ec64d9a
2 changed files with 7 additions and 1 deletions
@@ -0,0 +1,6 @@
fun ~A.foo~A.foo() = 1
fun foo() = 2
class A {
fun test() = `A.foo`foo()
}