Extract Function: Skip callable reference selectors
#KT-13218 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// WITH_RUNTIME
|
||||
// PARAM_DESCRIPTOR: value-parameter arg: kotlin.String defined in Foo.Companion.bar
|
||||
// PARAM_TYPES: kotlin.String
|
||||
|
||||
class Foo {
|
||||
var arguments: Map<String, String>? = null
|
||||
|
||||
companion object {
|
||||
fun bar(arg: String) = Foo().apply {
|
||||
arguments = <selection>mapOf(Foo::arguments.name to arg)</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user