Skip to content

Support resource name and user value for implicit class constructors #4771

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

Merged
merged 1 commit into from
Sep 17, 2021

Conversation

zherczeg
Copy link
Member

No description provided.

@zherczeg zherczeg force-pushed the implicit_constr branch 2 times, most recently from e33a2cf to 80f626a Compare September 16, 2021 11:55
@zherczeg
Copy link
Member Author

zherczeg commented Sep 16, 2021

A part is extracted in #4772

@zherczeg zherczeg force-pushed the implicit_constr branch 3 times, most recently from eb2151a to e8123cb Compare September 17, 2021 07:07
@@ -138,6 +138,14 @@ main (void)
parse_options.options = JERRY_PARSE_HAS_USER_VALUE;
test_parse_function (source_p, &parse_options, true);

/* There is no test for ESNEXT, using MODULE instead. */
if (jerry_is_feature_enabled (JERRY_FEATURE_MODULE))
Copy link
Contributor

Choose a reason for hiding this comment

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

Module has its own build option. But I think checking the symbol feature would be better as it has the same build option as ESNEXT.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, on the long run maybe we should replace them with an esnext check

Copy link
Contributor

@galpeter galpeter left a comment

Choose a reason for hiding this comment

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

lgtm

@rerobika rerobika merged commit 053bfa0 into jerryscript-project:master Sep 17, 2021
@zherczeg zherczeg deleted the implicit_constr branch September 17, 2021 14:33
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.

3 participants