[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,17 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class LazyDelegate<T>(val value: T) {
|
||||
operator fun getValue(thisRef: Any?, property: KProperty<*>): T = value
|
||||
}
|
||||
|
||||
fun <T> lazy(block: () -> T): LazyDelegate<T> = LazyDelegate(block())
|
||||
|
||||
fun getAny(): Any? = null
|
||||
|
||||
fun <Q> materialize(): Q = null!!
|
||||
|
||||
class Test {
|
||||
val <caret>resolveMe: String by lazy {
|
||||
materialize()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user