javaparser / javaparser/javaparser

Recover BreakStatement ContinueStatement ReturnStatement ThrowStatement to ;

Open
#1,107 0 comments 0 reactions 0 assignees View on GitHub
error recovery Improvement
Dominant language
Java
Stars
6.1k
Forks
1.3k
Avg merge
17h 36m
Merged PRs (30d)
28

Description

### Notes/pointers

- Follow on from #581

- See also https://github.com/javaparser/javaparser/issues/955#issuecomment-333398125

- And https://matozoid.github.io/2017/06/11/parse-error-recovery.html

Contributor guide

Open the contributing guide

Research direction

Start by reading the follow-on issue #581 and the referenced comment on #955, then review the linked parse-error-recovery article for the intended behavior. Done means BreakStatement, ContinueStatement, ReturnStatement, and ThrowStatement can be recovered through a semicolon as described by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.