Commit graph

3 commits

Author SHA1 Message Date
Andy 1fc1495863
Increase span of unreachable code error (#25388)
* Increase span of unreachable code error

* Add a new diagnostic for each range of unreachable statements

* Update baselines
2018-07-10 11:45:16 -07:00
Andy 982c8d0af9
Add suggestion diagnostics for unused label and unreachable code (#24261)
* Add suggestion diagnostics for unused label and unreachable code

* Always error on unused left hand side of comma
2018-05-22 07:56:29 -07:00
Andrew Casey 01d6d489be Add regression tests
Report unreachable code in JS files when --checkjs is passed, but not
otherwise.
2017-06-01 18:11:26 -07:00