fd76a34277
This doesn't reduce the quality of tests, because the flags are still printed for declarations themselves. We only omit them in references. However, this makes the tests more compatible with non-JVM backends (see KT-58605), because flags of referenced stdlib declarations may differ among target platforms.
22 lines
899 B
Kotlin
Vendored
22 lines
899 B
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: {}anonymous
|
|
// Public signature: /anonymous|-1633601112294415930[0]
|
|
val anonymous: Function0<Unit>
|
|
field
|
|
// CHECK JVM_IR:
|
|
// Mangled name (compatible mode: false): {}anonymous#<no name provided>#static(){}
|
|
// Mangled name (compatible mode: true): anonymous#<no name provided>#static(){}
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name (compatible mode: false): {}anonymous#<no name provided>#static(){}
|
|
// Mangled name (compatible mode: true): anonymous#<no name provided>#static(){}
|
|
local fun <no name provided>(): Unit
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: #<get-anonymous>(){}kotlin.Function0<kotlin.Unit>
|
|
// Public signature: /anonymous.<get-anonymous>|4047260013555274752[0]
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: #<get-anonymous>(){}
|
|
// Public signature: /anonymous.<get-anonymous>|-7938030596525369571[0]
|
|
get
|
|
|