"Convert lambda to reference": fix case with extension 'this'
#KT-21999 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
2bf3b435f2
commit
0a5aa2b60c
@@ -0,0 +1,14 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(f: () -> Unit) {}
|
||||
|
||||
class Bar {
|
||||
fun bar() {}
|
||||
}
|
||||
|
||||
class Test {
|
||||
fun test() {
|
||||
with(Bar()) {
|
||||
foo { <caret>bar() }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user