8443daf78d
They are mostly necessary for argument mapping during resolution. To support a couple checkers, we transform named args for varargs into "fake" spread expressions. Other than that, named arguments aren't needed for anything and often lead to bugs where we forget to unwrap them for something, so it's better to get rid of them. #KT-66124
34 lines
1.7 KiB
Plaintext
Vendored
34 lines
1.7 KiB
Plaintext
Vendored
FILE: arrayOfImports.kt
|
|
@R|kotlin/Deprecated|(message = String(Use ...), replaceWith = R|kotlin/ReplaceWith.ReplaceWith|(String(bar), vararg(*<implicitArrayOf>(String(my.package.bar))))) @R|Third|(first = R|/First.First|(<implicitArrayOf>(<getClass>(Q|kotlin/String|))), second = R|/Second.Second|(<implicitArrayOf>(R|/First.First|(<implicitArrayOf>(<getClass>(Q|kotlin/Int|))), R|/First.First|(<implicitArrayOf>(<getClass>(Q|kotlin/Double|)))))) @R|Second|(value = <implicitArrayOf>(<implicitArrayOf>(String()), <implicitArrayOf>(R|/First.First|(<implicitArrayOf>())))) public final fun foo(): R|kotlin/Unit| {
|
|
}
|
|
public final annotation class First : R|kotlin/Annotation| {
|
|
public constructor(value: R|kotlin/Array<kotlin/reflect/KClass<*>>|): R|First| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final val value: R|kotlin/Array<kotlin/reflect/KClass<*>>| = R|<local>/value|
|
|
public get(): R|kotlin/Array<kotlin/reflect/KClass<*>>|
|
|
|
|
}
|
|
public final annotation class Second : R|kotlin/Annotation| {
|
|
public constructor(value: R|kotlin/Array<First>|): R|Second| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final val value: R|kotlin/Array<First>| = R|<local>/value|
|
|
public get(): R|kotlin/Array<First>|
|
|
|
|
}
|
|
public final annotation class Third : R|kotlin/Annotation| {
|
|
public constructor(first: R|First|, second: R|Second|): R|Third| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final val first: R|First| = R|<local>/first|
|
|
public get(): R|First|
|
|
|
|
public final val second: R|Second| = R|<local>/second|
|
|
public get(): R|Second|
|
|
|
|
}
|