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

Don't require a trailing semicolon for a complete single statement other than an expression #356

Open
tats-u opened this issue Apr 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tats-u
Copy link

tats-u commented Apr 10, 2024

Version

C# REPL 0.6.6+ba21d409af4dce77f8be07f6a61cdb24cd19bb29

What happened?

jshell (Java's official REPL) can execute int i = 0; or try to evaluate return 0; or break; without the semicolon.
Especially, I do not want to add ; after int i = 0.
Without it, CSharpRepl will wait for an additional input unlike jshell.

@tats-u tats-u added the bug Something isn't working label Apr 10, 2024
@tats-u tats-u changed the title Don't require a trailing semicolon for a complete single statement except for an expresion Don't require a trailing semicolon for a complete single statement other than an expresion Apr 10, 2024
@tats-u tats-u changed the title Don't require a trailing semicolon for a complete single statement other than an expresion Don't require a trailing semicolon for a complete single statement other than an expression Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants