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,15 @@
|
||||
class Ref(var value: Int)
|
||||
|
||||
interface IHost {
|
||||
fun String.extLength() = length
|
||||
}
|
||||
|
||||
fun test1(x: String?) = x?.length
|
||||
fun test2(x: String?) = x?.hashCode()
|
||||
fun test3(x: String?, y: Any?) = x?.equals(y)
|
||||
|
||||
fun test4(x: Ref?) {
|
||||
x?.value = 0
|
||||
}
|
||||
|
||||
fun IHost.test5(s: String?) = s?.extLength()
|
||||
Reference in New Issue
Block a user