kotlin-language-server icon indicating copy to clipboard operation
kotlin-language-server copied to clipboard

Resolve type mismatch error in build.gradle.kts scripts

Open RenFraser opened this issue 2 years ago • 1 comments
trafficstars

This PR shows a TypeError when the language server parses the server/build.gradle.kts script. @themkat has commented the following:

a general issue with our Kotlin DSL code in Compiler.kt

We should investigate and resolve the cause.

See attached screenshot for example:

RenFraser avatar Feb 16 '23 22:02 RenFraser

This issue might or might not be related: image

The lambda-related inferred type error is similar, but my image also contains a "not found" error for CreateStartScripts. Let me know if people are not experiencing this issue 🙂 (this is off course by using the language server on itself! IntelliJ will probably not report any errors here. For that reason we can probably look into parts of the IntelliJ codebase for inspiration)

themkat avatar Feb 17 '23 15:02 themkat