You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many compile errors within generated Kotlin code from TypeScript delcaration, here are some example code snippets which were generated:
@Suppress("NESTED_CLASS_IN_EXTERNAL_INTERFACE")
@Suppress("NESTED_CLASS_IN_EXTERNAL_INTERFACE") // ERROR: This annotation is not repeatableexternalinterfaceRAL {
var applicationJson: `T$3`
var messageBuffer: `T$4`
var console: `T$5`
var timer: `T$6`
companionobject {
funinstall(ral:RAL)
}
}
import`_`// ERROR: Names _, __, ___, ..., are reserved in Kotlin
externalopenclassCancellationTokenSource : AbstractCancellationTokenSource {
openvar_token:Any// ERROR: should be "token: CancellationToken" like in the interfaceoverridefuncancel()
overridefundispose()
}
The text was updated successfully, but these errors were encountered:
PascalHonegger
changed the title
Please, highlight the essence of the problem in the title
Generated Kotlin code for la language-server doesn't compile
Mar 9, 2023
PascalHonegger
changed the title
Generated Kotlin code for la language-server doesn't compile
Generated Kotlin code for language-server doesn't compile
Mar 9, 2023
🕗 Version
0.5.8-rc.4
💻 Code or Package Name
[email protected]
🙁 Actual behavior
Many compile errors within generated Kotlin code from TypeScript delcaration, here are some example code snippets which were generated:
🙂 Expected behavior
Generated Kotlin types compile
The text was updated successfully, but these errors were encountered: