Add inspection to detect non-const vals used as Java annotation args
So #KT-20615 Fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// "Add 'const' modifier" "true"
|
||||
// "Make 'i' const" "true"
|
||||
// ERROR: Only 'const val' can be used in constant expressions
|
||||
|
||||
package constVal
|
||||
|
||||
Reference in New Issue
Block a user