Basic class members generation.
Split testData into 'classes' and 'expressions'.
This commit is contained in:
committed by
Dmitry Petrov
parent
703d3405ed
commit
0b647ac358
@@ -0,0 +1,6 @@
|
||||
fun String.k(): () -> String = { -> this }
|
||||
|
||||
fun test1(f: () -> Unit) = f()
|
||||
fun test2(f: String.() -> Unit) = "hello".f()
|
||||
fun test3() = "hello".k()()
|
||||
fun test4(ns: String?) = ns?.k()?.invoke()
|
||||
Reference in New Issue
Block a user