Create function quick fix: fix visibility from inline method #KT-25228 Fixed
This commit is contained in:
committed by
Alexey Sedunov
parent
e2945b1d12
commit
dc57887a4d
+6
@@ -0,0 +1,6 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
internal inline fun f() {
|
||||
<caret>g()
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
internal inline fun f() {
|
||||
g()
|
||||
}
|
||||
|
||||
private fun g() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
private inline fun f() {
|
||||
<caret>g()
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
private inline fun f() {
|
||||
g()
|
||||
}
|
||||
|
||||
private fun g() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
protected inline fun f() {
|
||||
<caret>g()
|
||||
}
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
protected inline fun f() {
|
||||
g()
|
||||
}
|
||||
|
||||
protected fun g() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
inline fun f() {
|
||||
<caret>g()
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Create function 'g'" "true"
|
||||
class C {
|
||||
inline fun f() {
|
||||
g()
|
||||
}
|
||||
|
||||
fun g() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user