Skip to content

Conversation

@bcoe
Copy link
Member

@bcoe bcoe commented May 31, 2018

try {
  if (args[0] === "X") { throw "foo"; }
  output = args[0];
} catch {
  output="Y";
} finally {
  output += 1;
}

@coveralls
Copy link

coveralls commented May 31, 2018

Coverage Status

Coverage decreased (-0.9%) to 87.577% when pulling 1fec67c on optional-catch-binding into 53f6710 on master.

@bcoe bcoe merged commit 088dd9f into master May 31, 2018
@bcoe bcoe deleted the optional-catch-binding branch May 31, 2018 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants