Format functions with function literal arguments (KT-2934)

#KT-2934 Fixed
This commit is contained in:
Nikolay Krasko
2014-05-02 01:53:20 +04:00
parent eeea34ec9e
commit 109f7992b4
9 changed files with 317 additions and 5 deletions
@@ -0,0 +1,43 @@
trait Test {
fun foo(): Test
}
fun test(t: Test) {
t . foo()
t.
foo()
t.
foo()
t
.foo()
t.foo() . foo()
t ?. foo()
t?.
foo()
t?.
foo()
t
?.foo()
t?.foo() ?. foo()
}