Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Prevent the IDE from locking up when certain parse error occur #4495

Merged

Conversation

keyboardDrummer
Copy link
Member

Changes

Previously the IDE server would become completely unresponsive when a repeated comma occurred in a parameter, now it does not.

Testing

Added test to ensure the behavior does not occur

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Copy link
Member

@MikaelMayer MikaelMayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow good finding and fix!

@keyboardDrummer keyboardDrummer merged commit 2e5d17a into dafny-lang:master Aug 31, 2023
18 checks passed
@keyboardDrummer keyboardDrummer deleted the ownedTokensParseErrorFix branch August 31, 2023 20:00
keyboardDrummer added a commit to keyboardDrummer/dafny that referenced this pull request Sep 15, 2023
…-lang#4495)

### Changes

Previously the IDE server would become completely unresponsive when a
repeated comma occurred in a parameter, now it does not.

### Testing

Added test to ensure the behavior does not occur

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
keyboardDrummer added a commit that referenced this pull request Sep 19, 2023
### Changes

Previously the IDE server would become completely unresponsive when a
repeated comma occurred in a parameter, now it does not.

### Testing

Added test to ensure the behavior does not occur

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
keyboardDrummer added a commit that referenced this pull request Sep 19, 2023
### Changes

Previously the IDE server would become completely unresponsive when a
repeated comma occurred in a parameter, now it does not.

### Testing

Added test to ensure the behavior does not occur

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants