Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upEditorial: Clarification on auto semicolon insertion #1254
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
crlf0710 commentedJul 7, 2018
Hello, I think the spec text should mention that the ";" rule of
ClassElementcan not use an auto inserted semicolon. While this conclusion can be actually deduced from the current syntax rules(e.g. adding semicolon there will not change an offending token into an accepted one so syntax error still will happen), it's not very obvious at first sight.