Hi <@U0CHHN4F4>, I'am with a problem in refine ann...
# scripting
s
Hi @ilya.chernikov, I'am with a problem in refine annotations. My script have a annotation that all the parameters have default values, and in the script I put one parameter and get this exception. I guess that the parse not work with annotations with default parameters. My annotation class:
Copy code
@Target(AnnotationTarget.FILE)
@Retention(AnnotationRetention.SOURCE)
@Repeatable
annotation class Script(
    val name: String = "",
    val version: String = "",
    val author: String = "",
    val authors: Array<String> = emptyArray(),
    val website: String = "",
    val depend: Array<String> = emptyArray(),
    val pluginDepend: Array<String> = emptyArray()
)
i
Looks like a bug, thanks for reporting. I create the issue - https://youtrack.jetbrains.com/issue/KT-29573
@SrSouza I cannot reproduce the behavior, but I’ve changed few bits around this place for 1.3.20. What version are you using?
s
@ilya.chernikov 1.3.20
I will try to reproduce with the example of NikkyAi
@ilya.chernikov I think I found the real problem, I reproduce with the example of NikkyAi, default parameters is working but what is not working is Array types, I test with Array of String and IntArray and doesn't work either.