Report warning on extensions shadowed by members.
This commit is contained in:
Dmitry Petrov
2017-01-13 18:07:47 +03:00
parent ded7d5911b
commit 954204da82
62 changed files with 876 additions and 50 deletions
@@ -6,7 +6,7 @@ class A {
fun foo() = 42
}
fun A.foo() {}
fun A.<!EXTENSION_SHADOWED_BY_MEMBER!>foo<!>() {}
fun main() {
val x = A::foo