node-chakracore
node-chakracore copied to clipboard
ChakraCore does not support catch statements with no argument binding
- Version: master
- Platform: all
- Subsystem: all
V8 now supports catch statements with no argument binding. Some of the Javascript code in node has begun to take a dependency on this syntax. I added argument bindings back in node-chakracore (via 1f550c99ea5673f051a60e9c4032f2648f5dd842) but we need to remove these when ChakraCore supports this new syntax.
This new concise syntax looks like this, by the way:
try {
// do something
} catch {
// no binding for an argument to catch
}
There is a ChakraCore PR to add this, but it has stalled: https://github.com/Microsoft/ChakraCore/pull/5310
@kfarnung it has been merged.