[FIR] Fix all usages of annotations due to new FirAnnotation hierarchy
This commit is contained in:
committed by
teamcityserver
parent
2e7564a21e
commit
5769d42248
+1
-1
@@ -10,7 +10,7 @@ FILE: annotationArgumentKClassLiteralTypeError.kt
|
||||
}
|
||||
public final val <reified T> R|T|.test: R|kotlin/Any|
|
||||
public inline get(): R|kotlin/Any| {
|
||||
^ @R|Ann|(<implicitArrayOf>(<getClass>(R|T|), <getClass>(Q|kotlin/Array|))) object : R|kotlin/Any| {
|
||||
^ @R|Ann|(a = <implicitArrayOf>(<getClass>(R|T|), <getClass>(Q|kotlin/Array|))) object : R|kotlin/Any| {
|
||||
private constructor(): R|<anonymous><T>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -50,5 +50,5 @@ FILE: annotationArgumentMustBeConst.kt
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
@R|Ann1|(vararg(R|/foo|, R|/foo|.R|kotlin/String.plus|(R|/bar|), <strcat>(R|/foo|, String( ), R|/bar|), <strcat>(R|/baz|(), String( )))) @R|Ann2|(<implicitArrayOf>(R|/bar|, R|/baz|(), R|/bar|.R|kotlin/Int.plus|(R|/cnst|))) @R|Ann3|(R|/arr|) public final fun test(): R|kotlin/Unit| {
|
||||
@R|Ann1|(a = vararg(R|/foo|, R|/foo|.R|kotlin/String.plus|(R|/bar|), <strcat>(R|/foo|, String( ), R|/bar|), <strcat>(R|/baz|(), String( )))) @R|Ann2|(a = <implicitArrayOf>(R|/bar|, R|/baz|(), R|/bar|.R|kotlin/Int.plus|(R|/cnst|))) @R|Ann3|(a = R|/arr|) public final fun test(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -26,5 +26,5 @@ FILE: annotationArgumentMustBeEnumConst.kt
|
||||
public final var bar: R|TestEnum| = Q|TestEnum|.R|/TestEnum.Foo|
|
||||
public get(): R|TestEnum|
|
||||
public set(value: R|TestEnum|): R|kotlin/Unit|
|
||||
@R|Ann|(vararg(R|/foo|, R|/bar|)) public final fun test(): R|kotlin/Unit| {
|
||||
@R|Ann|(a = vararg(R|/foo|, R|/bar|)) public final fun test(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,5 +19,5 @@ FILE: annotationArgumentMustBeKClassLiteral.kt
|
||||
public final fun bar(): R|kotlin/reflect/KClass<Foo>| {
|
||||
^bar <getClass>(Q|Foo|)
|
||||
}
|
||||
@R|Ann|(<implicitArrayOf>(<getClass>(String()), <getClass>(Boolean(true)), <getClass>(Int(1)))) @R|Ann|(<implicitArrayOf>(R|/foo|, R|/bar|())) public final fun test1(): R|kotlin/Unit| {
|
||||
@R|Ann|(a = <implicitArrayOf>(<getClass>(String()), <getClass>(Boolean(true)), <getClass>(Int(1)))) @R|Ann|(a = <implicitArrayOf>(R|/foo|, R|/bar|())) public final fun test1(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -15,7 +15,7 @@ FILE: nonConstValInAnnotationArgument.kt
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
public final const val cnst: R|kotlin/Int| = Int(2)
|
||||
public get(): R|kotlin/Int|
|
||||
@R|Ann|(<implicitArrayOf>(R|/foo|, R|/foo|.R|kotlin/String.plus|(R|/cnst|.R|kotlin/Any.toString|()))) public final fun test(): R|kotlin/Unit| {
|
||||
@R|Ann|(a = <implicitArrayOf>(R|/foo|, R|/foo|.R|kotlin/String.plus|(R|/cnst|.R|kotlin/Any.toString|()))) public final fun test(): R|kotlin/Unit| {
|
||||
}
|
||||
public final const val A: R|kotlin/String| = String(foo)
|
||||
public get(): R|kotlin/String|
|
||||
@@ -30,5 +30,5 @@ FILE: nonConstValInAnnotationArgument.kt
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
@R|S|(R|/A|.R|kotlin/String.plus|(R|/B|)) public final fun foo(): R|kotlin/Unit| {
|
||||
@R|S|(s = R|/A|.R|kotlin/String.plus|(R|/B|)) public final fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user