Skip to content

Conversation

@rerobika
Copy link
Member

@rerobika rerobika commented Feb 23, 2019

This patch fixes #2769.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu

@rerobika rerobika added bug Undesired behaviour ES2015 Related to ES2015 features labels Feb 23, 2019
/* Copy to buffer the #@@toStringTag# string */
buffer_ptr += ecma_string_copy_to_utf8_buffer (tag_str_p, buffer_ptr,
buffer_ptr += ecma_string_copy_to_cesu8_buffer (tag_str_p, buffer_ptr,
(lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr));
Copy link
Contributor

Choose a reason for hiding this comment

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

wrong indentation

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch!

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

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

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

Please fix the commit message to refer to the correct issue. (2759->2769)

…8 string

This path fixes jerryscript-project#2769.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
@rerobika
Copy link
Member Author

rerobika commented Mar 6, 2019

@dbatyai Thanks for the review I fixed it.

Copy link
Member

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

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

lgtm

@dbatyai dbatyai merged commit 1fba890 into jerryscript-project:master Mar 6, 2019
@rerobika rerobika deleted the fix_issue_2769 branch March 8, 2019 14:19
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 'lit_is_valid_cesu8_string (string_p, string_size)' failed in ecma_new_ecma_string_from_utf8

3 participants