Skip to content

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

Description

@tats-u

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions