Skip to content

Fix super keyword parsing for arrow functions #2664

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
Jan 22, 2019

Conversation

rerobika
Copy link
Member

@rerobika rerobika commented Jan 2, 2019

This patch fixes #2657.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]

LaszloLango
LaszloLango previously approved these changes Jan 3, 2019
Copy link
Contributor

@LaszloLango LaszloLango 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 changed the title Ensure that class extends value does not contain super reference Fix super keyword parsing for arrow functions Jan 8, 2019
@zherczeg
Copy link
Member

zherczeg commented Jan 9, 2019

What happened with the test case?

@LaszloLango LaszloLango dismissed their stale review January 9, 2019 08:43

Dismiss my previous review, because the PR changed too much since then.

@rerobika
Copy link
Member Author

rerobika commented Jan 9, 2019

@zherczeg I've added the missing test case.

@rerobika
Copy link
Member Author

Note: #2686 must land first.

@rerobika rerobika added bug Undesired behaviour ES2015 Related to ES2015 features labels Jan 16, 2019
@rerobika
Copy link
Member Author

The patch is updated to the latest master after #2686 has landed.

This patch fixes jerryscript-project#2657.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
@rerobika
Copy link
Member Author

@akosthekiss Thanks for the review, I've updated the PR.

Copy link
Member

@akosthekiss akosthekiss left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@zherczeg zherczeg left a comment

Choose a reason for hiding this comment

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

LGTM

@zherczeg zherczeg merged commit a42f239 into jerryscript-project:master Jan 22, 2019
@rerobika rerobika deleted the fix_issue_2657 branch February 28, 2019 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour ES2015 Related to ES2015 features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assertion 'lex_env_p != NULL' failed in ecma_op_resolve_super_reference_value
4 participants