Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Fix 485 #487

Merged
merged 2 commits into from
Nov 22, 2022
Merged

Fix 485 #487

merged 2 commits into from
Nov 22, 2022

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant