[LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
This commit is contained in:
committed by
Space Team
parent
aef5290210
commit
33e6a85a2d
@@ -0,0 +1,23 @@
|
||||
import kotlin.properties.ReadWriteProperty
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
fun resolve<caret>Me() {
|
||||
receive(valueWithExplicitType)
|
||||
receive(valueWithImplicitType)
|
||||
|
||||
variableWithExplicitType = 10
|
||||
variableWithImplicitType = 10
|
||||
}
|
||||
|
||||
fun receive(value: Int){}
|
||||
|
||||
val delegate = object: ReadWriteProperty<Any?, Int> {
|
||||
override fun getValue(thisRef: Any?, property: KProperty<*>): Int = 1
|
||||
override fun setValue(thisRef: Any?, property: KProperty<*>, value: Int) {}
|
||||
}
|
||||
|
||||
val valueWithExplicitType: Int by delegate
|
||||
val valueWithImplicitType by delegate
|
||||
|
||||
var variableWithExplicitType: Int by delegate
|
||||
var variableWithImplicitType by delegate
|
||||
Reference in New Issue
Block a user