mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 21:23:32 -05:00
![]() Noticed that the LSP might panic during serialization when working on a file with a syntax error. This PR changes the serialization so that invalid nodes are simply serialized to the invalid node `0`. The plugin code treats the node with id `0` as an invalid node and will ignore it during visiting. I'm not sure how to write a test for the LSP. |
||
---|---|---|
.. | ||
buffer.rs | ||
mod.rs | ||
swc.rs | ||
ts_estree.rs |