Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Try] endless crashing loop #661

Open
Tracked by #758
Huxpro opened this issue Jul 5, 2020 · 0 comments
Open
Tracked by #758

[Try] endless crashing loop #661

Huxpro opened this issue Jul 5, 2020 · 0 comments

Comments

@Huxpro
Copy link
Contributor

Huxpro commented Jul 5, 2020

Intro

Interestingly, the Try tab could fall into an endless loop of crashing.

Reproduce step

  1. open https://reasonml.github.io/en/try?rrjsx=true&reason=DYUwLgBAhhBcEEsB2kC8ECMBnA3AKCA. This represent source code let a : int = 1s; (which is a typo I incidentally typed).
  2. see try.js:44270 Uncaught TypeError: Cannot destructure property 'startLine' of 'undefined' as it is undefined. in your console.
  3. now if you open just https://reasonml.github.io/en/try, it will try to restore the state from local storage and cause the try page crash again.
@davesnx davesnx mentioned this issue Aug 29, 2023
8 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant