-
Notifications
You must be signed in to change notification settings - Fork 257
Conversation
Cargo.toml
Outdated
rls-analysis = "0.2.1" | ||
rls-data = "0.3.1" | ||
rls-span = { version = "0.4", features = ["serialize-serde"] } | ||
rls-vfs = { git = "https://github.com/nrc/rls-vfs", rev = "ab5eaf3ed62fe6c5e8d2eab5afdf0a511dd51cd9", features = ["racer-impls"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rls-vfs
containing rust-dev-tools/rls-vfs#17 has not been published yet. So I specified git rev. directly.
@nrc could you publish the new version fo rls-vfs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I published v0.3 with these changes
Seems to be causing some test failure. Let me know if you want help debugging. |
The result of TravisCI (linux)
|
@nrc I'm trying debugging failures. I feel these.
However, these values shows the empty string if I insert the trace macro (e.g. How do you think about these results? my environment is:
|
Such empty sets usually mean a mismatch in the analysis info somewhere, such as a bad span. In this case it might be something else, not exactly sure what. I'm about to step into a meeting but I'll investigate afterwards. |
I'm investigating the test failure here. I can reproduce, and when doing so it seems that no save-analysis data is being produced, but we're not using the in-memory form of save-analysis either. I have no idea what is going on. Continuing... |
So, it looks like we need rust-lang/rust#41833 to land before this will work. AFAICT, the trouble is that the analysis struct is not the same version from the compiler and in rls-analysis. For some reason this ends up with |
okay. thank you for your help. |
This change includes to upgrade [languageserver-types](https://github.com/gluon-lang/languageserver-types). It also contains to bump up the Language Server Potocol which our used to v3.
|
@nrc r? |
Verified, merging. Thanks for your patience! |
This change includes to upgrade languageserver-types.
It also contains to bump up the Language Server Potocol which our used to v3.
Related Issues