vscode-kotlin
vscode-kotlin copied to clipboard
Issues with type annotations when type includes a method, which includes a string
Consider the following code:
The type annotations include a callable type which can have string arguments which fail - but then if the string contains either >
or )
that ends the type annotation early, resulting in the closing string tag being mistakenly recognized as opening a string.
Note that, I expect that it is not just strings that are not considered here, but other primitives too. I am not familiar with Kotlin though to be fully certain on what is allowed in the language here though.