Convert lambda to reference: support nested class constructor call (#2877)

#KT-34690 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-12-18 06:52:46 +09:00
committed by Vladimir Dolzhenko
parent 646c7ad0af
commit dd8396efbc
4 changed files with 24 additions and 1 deletions
@@ -0,0 +1,9 @@
class A {
class B {}
}
fun foo(x: () -> A.B) {}
fun main() {
foo <caret>{ A.B() }
}