Skip to content

Ensure that the Opal objects are correctly represented in Web Consoles.#2594

Draft
hmdne wants to merge 2 commits intomasterfrom
hmdne/nice-nil
Draft

Ensure that the Opal objects are correctly represented in Web Consoles.#2594
hmdne wants to merge 2 commits intomasterfrom
hmdne/nice-nil

Conversation

@hmdne
Copy link
Copy Markdown
Member

@hmdne hmdne commented Oct 2, 2023

No description provided.

This should improve performance a little, so that we don't have
to reparse the backtrace for exceptions when we don't need it.
@hmdne hmdne marked this pull request as draft October 2, 2023 02:13
@hmdne hmdne changed the title Ensure that the identifiers are correctly represented in Web Consoles. Ensure that the Opal objects are correctly represented in Web Consoles. Oct 2, 2023
@elia elia self-requested a review October 5, 2023 08:56
Copy link
Copy Markdown
Member

@elia elia left a comment

Choose a reason for hiding this comment

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

Left a couple of comments, but it already looks good 👍

Comment thread opal/corelib/runtime.js
Comment thread opal/corelib/runtime.js
var module = constructor;
var module;
if ($truthy(name)) {
module = Function("return function "+name+" (){}")();
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.

Can you add a comment explaining why we need this?

@elia elia force-pushed the hmdne/dynamic-backtrace branch from c036448 to 0756cfa Compare October 12, 2023 08:40
Base automatically changed from hmdne/dynamic-backtrace to master October 12, 2023 08:49
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