openrewrite / rewrite-kotlin

Work-in-progress implementation of Kotlin language support for OpenRewrite.
Apache License 2.0
38 stars 11 forks source link

PSI association issue: arrayOf call in method invocation as a variable assignment is not type attributed. #525

Open traceyyoshima opened 6 months ago

traceyyoshima commented 6 months ago
              annotation class Ann(
                  val test: Test
              )
              annotation class Test ( val arg: Array<String> )
              @Ann(test = Test(
                  arg = arrayOf("") // null type due to FirArrayCall
              ))
              fun use() {
              }