[KLIB tool] Update KLIB metadata dump tests
^KT-62340
This commit is contained in:
committed by
Space Team
parent
f9f97f2050
commit
07767f88e2
Vendored
+47
-8
@@ -1,11 +1,50 @@
|
||||
package test {
|
||||
enum class My private constructor() : Enum<My> {
|
||||
enum entry ALPHA
|
||||
enum entry BETA
|
||||
enum entry OMEGA
|
||||
library {
|
||||
// module name: <varargs.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/My
|
||||
// class name: test/My.ALPHA
|
||||
// class name: test/My.BETA
|
||||
// class name: test/My.OMEGA
|
||||
// class name: test/ann
|
||||
// class name: test/annotated
|
||||
|
||||
public final enum class test/My : kotlin/Enum<test/My> {
|
||||
|
||||
private constructor()
|
||||
|
||||
ALPHA,
|
||||
|
||||
BETA,
|
||||
|
||||
OMEGA,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
annotation class ann constructor(vararg m: My) : Annotation {
|
||||
val m: Array<out My>
|
||||
|
||||
public final enum entry test/My.ALPHA : test/My {
|
||||
}
|
||||
@ann(m = {My.ALPHA, My.BETA}) annotation class annotated constructor() : Annotation
|
||||
|
||||
public final enum entry test/My.BETA : test/My {
|
||||
}
|
||||
|
||||
public final enum entry test/My.OMEGA : test/My {
|
||||
}
|
||||
|
||||
public final annotation class test/ann : kotlin/Annotation {
|
||||
|
||||
public constructor(vararg m: test/My /* kotlin/Array<out test/My> */)
|
||||
|
||||
public final val m: kotlin/Array<out test/My>
|
||||
public final get
|
||||
}
|
||||
|
||||
@test/ann(m = [test/My.ALPHA, test/My.BETA])
|
||||
public final annotation class test/annotated : kotlin/Annotation {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user