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,17 @@
|
||||
val ok = "OK"
|
||||
val ok2 = ok
|
||||
val ok3: String get() = "OK"
|
||||
|
||||
fun test1() = ok
|
||||
|
||||
fun test2(x: String) = x
|
||||
|
||||
fun test3(): String {
|
||||
val x = "OK"
|
||||
return x
|
||||
}
|
||||
|
||||
fun test4() = ok3
|
||||
|
||||
val String.okext: String get() = "OK"
|
||||
fun String.test5() = okext
|
||||
Reference in New Issue
Block a user