Change Signature: Skip implicit receiver references if extension receiver is dropped
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
fun X.<caret>foo(s: String, k: Int): Boolean {
|
||||
return this.k + s.length - k > 0
|
||||
return this.k + s.length - k - l > 0
|
||||
}
|
||||
|
||||
class X(val k: Int)
|
||||
class X(val k: Int, val l: Int)
|
||||
|
||||
fun test() {
|
||||
with(X(0)) {
|
||||
with(X(0, 1)) {
|
||||
foo("1", 2)
|
||||
}
|
||||
X(0).foo("1", 2)
|
||||
X(0, 1).foo("1", 2)
|
||||
}
|
||||
Reference in New Issue
Block a user