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

refactor: add core.formatLocationFilename, remove op_format_filename #14474

Merged
merged 6 commits into from
May 3, 2022

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented May 3, 2022

Closes #14464

This commit moves "op_format_location" to "core/ops_builtin.rs"
and removes "Deno.core.createPrepareStackTrace" in favor of
"Deno.core.prepareStackTrace".

@bartlomieju
Copy link
Member Author

@nayeemrmn please take a look

Copy link
Contributor

@AaronO AaronO left a comment

Choose a reason for hiding this comment

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

Moving it into core makes sense, however it looks like this can remain an op (in ops_builtin.rs) and doesn't need to be promoted to a v8 binding

@bartlomieju bartlomieju requested a review from AaronO May 3, 2022 17:09
core/error.rs Outdated Show resolved Hide resolved
Co-authored-by: Aaron O'Mullan <[email protected]>
@bartlomieju bartlomieju requested a review from AaronO May 3, 2022 17:17
Copy link
Contributor

@AaronO AaronO left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 3f08a40 into denoland:main May 3, 2022
@bartlomieju bartlomieju deleted the op_format_file_name branch May 3, 2022 17:46
cjihrig pushed a commit that referenced this pull request May 5, 2022
…14474)

This commit moves "op_format_location" to "core/ops_builtin.rs"
and removes "Deno.core.createPrepareStackTrace" in favor of
"Deno.core.prepareStackTrace".

Co-authored-by: Aaron O'Mullan <[email protected]>
cjihrig pushed a commit that referenced this pull request May 5, 2022
…14474)

This commit moves "op_format_location" to "core/ops_builtin.rs"
and removes "Deno.core.createPrepareStackTrace" in favor of
"Deno.core.prepareStackTrace".

Co-authored-by: Aaron O'Mullan <[email protected]>
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.

op_format_file_name should probably be moved to deno_core
2 participants