37cce98d19
IrDeclaration can be now hosted under IrExpression (as IrStatement).
16 lines
450 B
Kotlin
Vendored
16 lines
450 B
Kotlin
Vendored
// <<< smoke.txt
|
|
fun testFun(): String { return "OK" }
|
|
val testSimpleVal = 1
|
|
val testValWithGetter: Int get() = 42
|
|
var testSimpleVar = 2
|
|
var testVarWithAccessors: Int
|
|
get() = 42
|
|
set(v) {}
|
|
|
|
// 1 IrFunction public fun testFun
|
|
// 1 IrProperty public val testSimpleVal
|
|
// 1 IrProperty public val testValWithGetter
|
|
// 2 IrPropertyGetter
|
|
// 1 IrPropertySetter
|
|
// 1 IrProperty public var testSimpleVar
|
|
// 1 IrProperty public var testVarWithAccessors |