KT-1560
Report warning on extensions shadowed by members.
This commit is contained in:
@@ -7,7 +7,7 @@ class A {
|
||||
|
||||
|
||||
fun test(a: A) {
|
||||
fun A.foo() = 4
|
||||
fun A.<!EXTENSION_SHADOWED_BY_MEMBER!>foo<!>() = 4
|
||||
|
||||
a.foo() checkType { _<A>() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user