Skip to content

Commit b44a30e

Browse files
committed
perf(language_server): transform Message to DiagnosticReport with one call (#14448)
The struct `MessageWithPosition` is not needed anymore. `oxc_linter` is sending `Message` and the server is storing `DiagnosticReport`. So we can save the transformation `Message -> MessageWithPositoin -> DiagnosticReport` and transform direct: `Message -> DiagnosticReport`. Removed all relevant code and implemented `message_to_diagnostic_report`. related https://github.com/oxc-project/backlog/issues/175
1 parent f599bef commit b44a30e

File tree

3 files changed

+179
-339
lines changed

3 files changed

+179
-339
lines changed

0 commit comments

Comments
 (0)