Refactoring: rename parameter to argument for annotation diagnostics
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// "Remove @ from annotation argument" "true"
|
||||
// ERROR: An annotation parameter must be a compile-time constant
|
||||
// ERROR: An annotation argument must be a compile-time constant
|
||||
|
||||
annotation class Y()
|
||||
annotation class X(val value: Y, val y: Y)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Remove @ from annotation argument" "true"
|
||||
// ERROR: An annotation parameter must be a compile-time constant
|
||||
// ERROR: An annotation argument must be a compile-time constant
|
||||
|
||||
annotation class Y()
|
||||
annotation class X(val value: Y, val y: Y)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Remove @ from annotation argument" "true"
|
||||
// ERROR: An annotation parameter must be a compile-time constant
|
||||
// ERROR: An annotation argument must be a compile-time constant
|
||||
|
||||
annotation class Y()
|
||||
annotation class X(val value: Y)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Remove @ from annotation argument" "true"
|
||||
// ERROR: An annotation parameter must be a compile-time constant
|
||||
// ERROR: An annotation argument must be a compile-time constant
|
||||
|
||||
annotation class Y()
|
||||
annotation class X(val value: Y)
|
||||
|
||||
Reference in New Issue
Block a user