Skip to content

Conversation

@XmiliaH
Copy link
Collaborator

@XmiliaH XmiliaH commented Nov 22, 2022

Object pattern can be used in catch clauses. Previously this triggered an error, now it is transformed from

try{...} catch ({pattern}) {...}

to

try{...} catch (tmp) {try{throw makeSafe(tmp);}catch ({pattern}) {...}}

@XmiliaH XmiliaH merged commit 442feea into patriksimek:master Nov 22, 2022
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.

1 participant