You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds a timeout to the LSP so that if parsing or type checking
hangs/takes too long, the editor doesn't break too. A timeout results in
an error diagnostic, so that if the user modifies the script, the LSP
can process the new version:
<img width="346" alt="image"
src="https://github.com/plow-technologies/inferno/assets/10712637/810e9862-cddf-474c-b2e1-b06b65ee0ba5">
(This example takes too long to parse, see #51 )
Example script:
We should use
tupleElems
instead oftupleArgs
(slower) inParse.hs
for tuple patterns and type lists as well.The text was updated successfully, but these errors were encountered: