Files
kotlin-fork/analysis/low-level-api-fir/testData/fileStructure/declarationsInPropertyInit.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

12 lines
244 B
Kotlin
Vendored

class A {/* ClassDeclarationStructureElement */
val a = myRun {
class X()
val y = 10
}/* DeclarationStructureElement */
}
inline fun <R> myRun(block: () -> R): R {/* DeclarationStructureElement */
return block()
}