The #2 error is unlike in Java, `arrayOf` is neede...
# intellij
s
The #2 error is unlike in Java,
arrayOf
is needed for single value in array annotation attribute like
@RequestMapping("/", method = arrayOf(RequestMethod.GET))
, but this is more a Kotlin design choice I guess, so not sure there is something to do on IDE level ...