travis-ci
[[FIX]] Improve parsing of `yield` Re-implement the improvements reverted by the previous commit. Use distinct logic to differentiate this new implementation, including the following substantive improvements: - Correct the reported location of warning W093 ("Did you mean to return a conditional instead of an assignment?") - Permit the use of `yield` as an identifier outside of strict mode and generator function bodies - Remove inaccurate restriction on `yield` within Mozilla generator functions - Forward the context when parsing computed property names This patch introduces a new expected failure for the Test262 test suite. That case has been corrected in JSHint's `master` branch [1] and will be resolved when this branch is merged. [1] 38285cd78
45 of 45 new or added lines in 1 file covered. (100.0%)
27054 of 27072 relevant lines covered (99.93%)
30675.44 hits per line