Unreachable break in switch #931
Closed
Comments
Well, it's more like a style problem, not the code. It only affects the size of bytes transmitted and not the speed of processing resulting JS. LiveScript, i believe, is a "filter" which produces nice JS code already with no need in additional lint. |
My point is that this produced code could be nicer. And you would be surprised how many programming errors can |
Isn't your linter wrong about the second example? If |
rhendric
added a commit
to rhendric/LiveScript
that referenced
this issue
May 15, 2017
rhendric
added a commit
that referenced
this issue
May 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following snippets generate unreachable code (
break;
) in switch:JS linter running on compiled code is complaining on these.
The text was updated successfully, but these errors were encountered: