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

Expression evaluation should ignore trailing semicolons #2404

Closed
DanTup opened this issue Apr 28, 2020 · 0 comments
Closed

Expression evaluation should ignore trailing semicolons #2404

DanTup opened this issue Apr 28, 2020 · 0 comments
Labels
in debugger Relates to the debug adapter or process of launching a debug session is enhancement
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Apr 28, 2020

See dart-lang/sdk#41671.

It's easier to highlight code with a trailing semicolon to evaluate, but currently you get an error because this is a statement and not an expression. There should be no negative effects from trimming any trailing semicolon, but it will reduce the chance of the user getting an error.

@DanTup DanTup added is enhancement in debugger Relates to the debug adapter or process of launching a debug session labels Apr 28, 2020
@DanTup DanTup added this to the v3.10.0 milestone Apr 28, 2020
@DanTup DanTup closed this as completed in 8f51f70 Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in debugger Relates to the debug adapter or process of launching a debug session is enhancement
Projects
None yet
Development

No branches or pull requests

1 participant