Extract Interface/Pull Up: Warn about private members with usages in the original class
#KT-15606 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// NAME: I
|
||||
// SIBLING:
|
||||
class <caret>Foo {
|
||||
// INFO: {checked: "true"}
|
||||
private fun privateFun() = 0
|
||||
|
||||
fun refer() = privateFun()
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
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