Files
kotlin-fork/analysis/low-level-api-fir/testData/contextCollector/propertyDelegateInitializer.kt
T
Dmitrii Gridin 33e6a85a2d [LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
2023-09-18 21:12:45 +00:00

16 lines
464 B
Kotlin
Vendored

/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package test
interface MyInterface {
operator fun getValue(thisRef: Any, property: Any): MyInterface
}
class Foo(constructorParam: MyInterface) {
val regularProperty: MyInterface
val property: MyInterface by <expr>constructorParam</expr>
}