Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix recursion in TypedArray initializer#142

Merged
MaxDesiatov merged 5 commits into
swiftwasm:mainswiftwasm/JavaScriptKit:mainfrom
PatrickPijnappel:patch-1PatrickPijnappel/JavaScriptKit:patch-1Copy head branch name to clipboard
Nov 21, 2021
Merged

Fix recursion in TypedArray initializer#142
MaxDesiatov merged 5 commits into
swiftwasm:mainswiftwasm/JavaScriptKit:mainfrom
PatrickPijnappel:patch-1PatrickPijnappel/JavaScriptKit:patch-1Copy head branch name to clipboard

Conversation

@PatrickPijnappel

Copy link
Copy Markdown
Contributor

The original unconstrained version would cause infinite recursion.

@MaxDesiatov MaxDesiatov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, great catch! Would you be able to add a test that covers this?

@MaxDesiatov MaxDesiatov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I've added a simple test, which I hope is enough, but let me know it doesn't reflect the code you've used to reproduce this on your side.

@MaxDesiatov MaxDesiatov merged commit 9e2f414 into swiftwasm:main Nov 21, 2021
@PatrickPijnappel

Copy link
Copy Markdown
Contributor Author

@MaxDesiatov that looks good! Sorry I didn't get to this earlier had been really busy.

@MaxDesiatov

Copy link
Copy Markdown
Member

No problem, thanks again for the PR!

@PatrickPijnappel PatrickPijnappel deleted the patch-1 branch March 22, 2022 14:21
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.