[parser] Fix bug in for-of desugaring.
When reading the value property of an iterator result fails, we must not close the iterator. This was not discovered earlier because the tests had a subtle bug. This CL fixes both the desugaring and the tests. BUG= Review-Url: https://codereview.chromium.org/2119353002 Cr-Commit-Position: refs/heads/master@{#37571}
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment