https://kotlinlang.org logo
#getting-started
Title
# getting-started
n

nkiesel

07/05/2022, 7:25 PM
I recently (my guess is: after upgrading to Kotlin 1.7.0) have issues with IntelliJ not seeing Java changes in my Kotlin code. Concrete example is that I had a simple Java pojo with a default constructor which was called from Kotlin. I now added a second constructor and changed the Kotlin code to use that. That does compile and works, but IntelliJ shows an "Too many arguments for public constructor" error. I guess invalidating caches and restarting IntelliJ will fix this, but that is of course cumbersome. Is that a known issue?
a

Alexey Belkov [JB]

07/07/2022, 10:31 AM
I think it’s not a known issue, please report to YouTrack.