-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems when using for a compose multiplatform project #447
Comments
|
Hey 👋
Correct. The
Jumping to a definition on an external jar works for maven projects (with some exceptions: #308). For gradle this is not yet implemented. |
When using vscode extension for kotlin, I found several problems.
The customized jar dependencies doesn't appear in the project & external dependencies area(left bottom).
There is some error when parsing the kotlin source file: [Error - 1:29:42 AM] org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call: remember {
mutableStateOf(null)
}
Method: null
File being compiled: (152,9) in //Users/kylewong/Codes/dx-ng/dxng_playground/src/jvmMain/kotlin/com/taobao/dinamicx/dxng/dxng_playground/ui/DemoMVP.kt
The root cause java.lang.IllegalStateException was thrown at: org.jetbrains.kotlin.codegen.inline.SourceCompilerForInlineKt.getMethodNode(SourceCompilerForInline.kt:118)
[Error - 1:29:42 AM] at org.jetbrains.kotlin.codegen.inline.InlineCodegen.performInline(InlineCodegen.kt:63)
[Error - 1:29:42 AM] at org.jetbrains.kotlin.codegen.inline.PsiInlineCodegen.genCallInner(PsiInlineCodegen.kt:74)
[Error - 1:29:42 AM] at org.jetbrains.kotlin.codegen.CallGenerator.genCall(CallGenerator.kt:110)
[Error - 1:29:42 AM] at org.jetbrains.kotlin.codegen.ExpressionCodegen.invokeMethodWithArguments(ExpressionCodegen.java:2759)
The jump to definition doesn't work for external jar even there is a corresponding source.jar
The text was updated successfully, but these errors were encountered: