Extract Superclass: Report private members used in abstracted members
#KT-16284 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
interface I {
|
||||
// INFO: {checked: "true"}
|
||||
fun privateFun() = 0
|
||||
}
|
||||
|
||||
class Foo : I {
|
||||
|
||||
fun refer() = privateFun()
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
Function 'fun privateFun(): Int' can't be moved to the interface because it's private and has usages in the original class
|
||||
Reference in New Issue
Block a user