vscode-kotlin
vscode-kotlin copied to clipboard
Support for expect and actual
Description
Currently I am trying to open on of our. projects in VS Code, but in this project we are using KMM, which supports the expect
and actual
keywords. The problem is, that VS Code thinks the methods are overloading eachother.
Our expect method internal expect fun doSomeAction()
is reporting the following error :
Function 'doSomeAction' has several compatible actual declarations in modules
While our actual method internal actual fun doSomeAction()
is reporting the following error
Conflicting overloads: internal actual fun doSomeAction(): Unit defined in xxx in file SomeFile.kt
Extension version
Which version of the VSCode extension you are running. v0.2.26
Maybe actual
/expect
support isn't ready yet, because the feature is officially still beta?