Closed arv closed 9 years ago
V8 does not support let/const inside switch statements. It requires that you add an extra block (which is sane anyway).
This was tested with adding --block-binding=parse to the Makefile.
@johnjbarton PTAL
LGTM. We'll break this if we don't adopt the style.
It is really a V8 bug but I expect linters to disallow block bindings here. We have historically been opposed to making traceur add lint checks.
V8 does not support let/const inside switch statements. It requires that you add an extra block (which is sane anyway).
This was tested with adding --block-binding=parse to the Makefile.