Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.sig.kt.txt
T
2023-07-14 20:26:45 +00:00

114 lines
4.2 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: {}test1
// Public signature: /test1|6005685442305498193[0]
// Public signature debug description: {}test1
val test1: Int /* by */
// CHECK JVM_IR:
// Mangled name: #<get-test1>(){}kotlin.Int
// Public signature: /test1.<get-test1>|3978508226793108919[0]
// Public signature debug description: <get-test1>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-test1>(){}
// Public signature: /test1.<get-test1>|-5735092642142423279[0]
// Public signature debug description: <get-test1>(){}
@A(x = "test1.get")
get(): Int
// CHECK:
// Mangled name: {}test2
// Public signature: /test2|2517758057000911509[0]
// Public signature debug description: {}test2
var test2: Int /* by */
// CHECK JVM_IR:
// Mangled name: #<get-test2>(){}kotlin.Int
// Public signature: /test2.<get-test2>|-8779933517717592707[0]
// Public signature debug description: <get-test2>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-test2>(){}
// Public signature: /test2.<get-test2>|-5218942532816206869[0]
// Public signature debug description: <get-test2>(){}
@A(x = "test2.get")
get(): Int
// CHECK:
// Mangled name: #<set-test2>(kotlin.Int){}
// Public signature: /test2.<set-test2>|1925150309265265312[0]
// Public signature debug description: <set-test2>(kotlin.Int){}
@A(x = "test2.set")
set(@A(x = "test2.set.param") <set-?>: Int): Unit
// CHECK:
// Mangled name: A
// Public signature: /A|null[0]
open annotation class A : Annotation {
// CHECK:
// Mangled name: A{}x
// Public signature: /A.x|-8060530855978347579[0]
// Public signature debug description: {}x
val x: String
// CHECK JVM_IR:
// Mangled name: A#<get-x>(){}kotlin.String
// Public signature: /A.x.<get-x>|316111172223894646[0]
// Public signature debug description: <get-x>(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: A#<get-x>(){}
// Public signature: /A.x.<get-x>|1482705010654679335[0]
// Public signature debug description: <get-x>(){}
get
// CHECK:
// Mangled name: A#<init>(kotlin.String){}
// Public signature: /A.<init>|1280618353163213788[0]
// Public signature debug description: <init>(kotlin.String){}
constructor(x: String) /* primary */
}
// CHECK:
// Mangled name: Cell
// Public signature: /Cell|null[0]
class Cell {
// CHECK:
// Mangled name: Cell{}value
// Public signature: /Cell.value|1987073854177347439[0]
// Public signature debug description: {}value
var value: Int
// CHECK JVM_IR:
// Mangled name: Cell#<get-value>(){}kotlin.Int
// Public signature: /Cell.value.<get-value>|-5900028706170996[0]
// Public signature debug description: <get-value>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Cell#<get-value>(){}
// Public signature: /Cell.value.<get-value>|3260093555963109437[0]
// Public signature debug description: <get-value>(){}
get
// CHECK:
// Mangled name: Cell#<set-value>(kotlin.Int){}
// Public signature: /Cell.value.<set-value>|-195057410739577239[0]
// Public signature debug description: <set-value>(kotlin.Int){}
set
// CHECK:
// Mangled name: Cell#<init>(kotlin.Int){}
// Public signature: /Cell.<init>|-5182794243525578284[0]
// Public signature debug description: <init>(kotlin.Int){}
constructor(value: Int) /* primary */
// CHECK JVM_IR:
// Mangled name: Cell#getValue(kotlin.Any?;kotlin.Any?){}kotlin.Int
// Public signature: /Cell.getValue|-3377375928534350672[0]
// Public signature debug description: getValue(kotlin.Any?;kotlin.Any?){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Cell#getValue(kotlin.Any?;kotlin.Any?){}
// Public signature: /Cell.getValue|-9077843357189755365[0]
// Public signature debug description: getValue(kotlin.Any?;kotlin.Any?){}
operator fun getValue(thisRef: Any?, kProp: Any?): Int
// CHECK:
// Mangled name: Cell#setValue(kotlin.Any?;kotlin.Any?;kotlin.Int){}
// Public signature: /Cell.setValue|6795912344196649599[0]
// Public signature debug description: setValue(kotlin.Any?;kotlin.Any?;kotlin.Int){}
operator fun setValue(thisRef: Any?, kProp: Any?, newValue: Int): Unit
}