Lambda --> reference: correct handling of parameter-less function

Issue #KT-15556 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-03-10 16:32:19 +03:00
parent b6974a88c5
commit 19db4869e6
6 changed files with 28 additions and 3 deletions
@@ -0,0 +1,5 @@
class Foo
fun usage(f: () -> Foo) {}
fun test() {
usage {<caret> Foo() }
}