Skip to content

Conversation

@cristianoc
Copy link
Collaborator

This PR illustrates what happens when the switch optimisation from #7135 is applied to tagged variants.

if (typeof value$1 !== "object") {
return;
}
switch (value$1.TAG) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can crash

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