Introduce inspection "replace arrayOf with literal" #KT-17164 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-05-11 13:18:13 +03:00
committed by Mikhail Glukhikh
parent fb9d88315a
commit 9990550429
21 changed files with 259 additions and 2 deletions
@@ -0,0 +1,6 @@
// ERROR: The feature "array literals in annotations" is only available since language version 1.2
annotation class Some(val nums: IntArray)
@Some(nums = <caret>intArrayOf(1, 2))
class My