Introduce inspection "replace arrayOf with literal" #KT-17164 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
fb9d88315a
commit
9990550429
@@ -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
|
||||
Reference in New Issue
Block a user