Skip to content

Implement String.prototype.slice() #138

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

Closed
wants to merge 1 commit into from
Closed

Implement String.prototype.slice() #138

wants to merge 1 commit into from

Conversation

bzsolt
Copy link
Member

@bzsolt bzsolt commented Jun 1, 2015

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com

ret_value);

/* 3. */
ecma_string_t *get_string_val = ecma_get_string_from_completion_value (to_string_val);
Copy link
Contributor

Choose a reason for hiding this comment

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

to_string_val is value, not completion value.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually, there is an interface bug: the situation should be catched at compile-time. I've raised an issue to fix it (#139).

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, thanks.

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
@ILyoan ILyoan mentioned this pull request Jun 2, 2015
25 tasks
@galpeter galpeter added the ecma builtins Related to ECMA built-in routines label Jun 2, 2015
@galpeter galpeter added this to the ECMA builtins milestone Jun 2, 2015
@galpeter
Copy link
Contributor

galpeter commented Jun 2, 2015

looks good to me

@egavrin
Copy link
Contributor

egavrin commented Jun 2, 2015

make push

@ILyoan ILyoan mentioned this pull request Jun 5, 2015
9 tasks
@galpeter
Copy link
Contributor

galpeter commented Jun 5, 2015

Rebased & merged: 0b1b102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ecma builtins Related to ECMA built-in routines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants