Extract Function: Show possible types for receiver in Extract Function/Introduce Lambda Parameter dialogs
#KT-7578 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// PARAM_DESCRIPTOR: internal fun Bar.foo(): kotlin.Unit defined in root package
|
||||
// PARAM_TYPES: Bar, Foo, kotlin.Any
|
||||
|
||||
open class Foo
|
||||
class Bar : Foo()
|
||||
|
||||
fun Bar.foo() {
|
||||
<selection>toString()</selection>
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// PARAM_DESCRIPTOR: internal fun Bar.foo(): kotlin.Unit defined in root package
|
||||
// PARAM_TYPES: Bar, Foo, kotlin.Any
|
||||
|
||||
open class Foo
|
||||
class Bar : Foo()
|
||||
|
||||
fun Bar.foo() {
|
||||
__dummyTestFun__()
|
||||
}
|
||||
|
||||
private fun Bar.__dummyTestFun__() {
|
||||
toString()
|
||||
}
|
||||
Reference in New Issue
Block a user