KT-1560
Report warning on extensions shadowed by members.
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user