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 the private field crash for the Array object. #5139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paintedveil5
Copy link

Fix the private field crash in the Array object mentioned in
#5138

@zherczeg
Copy link
Member

zherczeg commented May 3, 2024

Good patch. Please add the testcase.

@paintedveil5
Copy link
Author

Good patch. Please add the testcase.

Added.

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
Copy link
Member

zherczeg commented May 4, 2024

Please squash the commits and add DCO to the commit message.

@paintedveil5 paintedveil5 force-pushed the fix-private-field branch 2 times, most recently from c7dcf9a to 2c0f9d2 Compare May 7, 2024 02:45
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.

The code seems OK, but the style of the test case addition is completely out of sync with the existing parts of the test case. Should be aligned.

tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
tests/jerry/private_fields.js Outdated Show resolved Hide resolved
JerryScript-DCO-1.0-Signed-off-by: Baihe Jiang <baihe.jiang@outlook.com>
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