Add inspection to detect non-const vals used as Java annotation args

So #KT-20615 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-12-14 12:51:19 +03:00
parent 70b7e5eb68
commit 7358980cbc
16 changed files with 215 additions and 24 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// "Add 'const' modifier" "true"
// "Make 'i' const" "true"
// ERROR: Only 'const val' can be used in constant expressions
package constVal