Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

ChakraCore does not support catch statements with no argument binding #551

Open
boingoing opened this issue Jun 19, 2018 · 2 comments
Open

Comments

@boingoing
Copy link
Contributor

  • 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 1f550c9) 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
}
@kfarnung
Copy link
Contributor

There is a ChakraCore PR to add this, but it has stalled: chakra-core/ChakraCore#5310

@Mouvedia
Copy link

Mouvedia commented Feb 7, 2019

@kfarnung it has been merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants