Extension function wins against function with no receiver

This commit is contained in:
Stanislav Erokhin
2015-12-14 13:58:53 +03:00
parent a7503303d5
commit cd80d9408d
4 changed files with 6 additions and 7 deletions
@@ -2,5 +2,5 @@
~foo~fun foo() = 2
class A {
fun test() = `foo`foo()
fun test() = `A.foo`foo()
}