openrewrite / rewrite-kotlin

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

Parser issue: Unsupported call type FirPropertyAccessExpressionImpl #563

Closed traceyyoshima closed 6 months ago

traceyyoshima commented 6 months ago
fun main(collision1: Array<String>) {
    var i = 239
    val collision2 = 42
    i += + collision2
    println(boi == i<caret>)
}

Source: JetBrains-Research/IRen languages/kotlin/testData/collision/localVariable.kt

traceyyoshima commented 6 months ago

Closing until the community requests a fix: This issue is caused by test data and will parse and print idempotent, but will create a J.Unknown since the statement is invalid (i<caret>)