KT-1560
Report warning on extensions shadowed by members.
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ class A1 : java.util.ArrayList<String>() {
|
||||
|
||||
class B : <!DEPRECATION_ERROR!>Throwable<!>("", null, false, false)
|
||||
|
||||
fun Throwable.fillInStackTrace() = 1
|
||||
fun Throwable.<!EXTENSION_SHADOWED_BY_MEMBER!>fillInStackTrace<!>() = 1
|
||||
|
||||
fun foo(x: List<String>, y: Throwable) {
|
||||
x.<!DEPRECATION_ERROR!>stream<!>()
|
||||
|
||||
Reference in New Issue
Block a user