FIR: report ANNOTATION_PARAMETER_DEFAULT_VALUE_MUST_BE_CONSTANT
This commit is contained in:
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
annotation class A
|
||||
annotation class A1(val x: Int)
|
||||
|
||||
annotation class B(
|
||||
val a: A = A(),
|
||||
val x: Int = A1(42).x,
|
||||
val aa: Array<A> = arrayOf(A())
|
||||
)
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
annotation class A
|
||||
annotation class A1(val x: Int)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user