Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(node): remove use of non existing FunctionPrototypeApply primordial #21986

Merged
merged 3 commits into from
Jan 19, 2024

Conversation

littledivy
Copy link
Member

Fixes #21978

@littledivy littledivy changed the title fix(node): use of non existing FunctionPrototypeApply primordial fix(node): remove use of non existing FunctionPrototypeApply primordial Jan 18, 2024
@littledivy littledivy enabled auto-merge (squash) January 18, 2024 16:54
@@ -27,7 +27,6 @@ import { primordials } from "ext:core/mod.js";
const {
ArrayPrototypePop,
Error,
FunctionPrototypeApply,
Copy link
Member

Choose a reason for hiding this comment

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

Can we add this primordial instead? I'm not sure how it works.

Copy link
Member Author

Choose a reason for hiding this comment

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

Used ReflectApply instead

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@littledivy littledivy merged commit 47232f8 into denoland:main Jan 19, 2024
14 checks passed
@littledivy littledivy deleted the functionprotoapply branch January 19, 2024 17:50
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.

Next.js primordial error FunctionPrototypeApply is not a function
3 participants