Introduce Variable: Do not compare explicit receivers using ReceiverValue
#KT-5319 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Bar {
|
||||
}
|
||||
|
||||
class Foo() {
|
||||
fun Bar.invoke(): Int = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val f = Foo()
|
||||
println(<selection>Bar().f()</selection>)
|
||||
println(Bar().f())
|
||||
}
|
||||
Reference in New Issue
Block a user