Skip to content

Conversation

@legendecas
Copy link
Contributor

Add implementation for ECMA-262 v6 21.1.1.1 section.

JerryScript-DCO-1.0-Signed-off-by: legendecas legendecas@gmail.com

Copy link
Member

@rerobika rerobika left a comment

Choose a reason for hiding this comment

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

Good catch! LGTM (informal) after fixing the style issue.

}
#ifndef CONFIG_DISABLE_ES2015_SYMBOL_BUILTIN
/* 2.a */
else if (ecma_is_value_symbol(arguments_list_p[0]))
Copy link
Member

Choose a reason for hiding this comment

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

One space needed before the opening parenthesis.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated 🐒

JerryScript-DCO-1.0-Signed-off-by: legendecas legendecas@gmail.com
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
Contributor

@robertsipka robertsipka 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 772ab27 into jerryscript-project:master Mar 26, 2019
@legendecas legendecas deleted the symbol-to-string branch March 27, 2019 01:37
legendecas added a commit to yodaos-project/ShadowNode that referenced this pull request Mar 28, 2019
legendecas added a commit to yodaos-project/ShadowNode that referenced this pull request Mar 28, 2019
* jerry: Add new symbol related API functions.

Picked from upstream jerryscript-project/jerryscript/pull/2741

* n-api: add napi_create_symbol

* jerry: Ensure that symbol properties can be set via computed object literals

Picked from upstream jerryscript-project/jerryscript/pull/2747

* Revert jerry_value_is_error/jerry_get_value_from_error to jerry_value_has_error_flag/jerry_get_value_without_error_flag

* jerry: Fixes assertion on calling String builtin with symbol

Picked from upstream jerryscript-project/jerryscript/pull/2803
legendecas added a commit to yodaos-project/ShadowNode that referenced this pull request Mar 28, 2019
* jerry: Add new symbol related API functions.

Picked from upstream jerryscript-project/jerryscript/pull/2741

* n-api: add napi_create_symbol

* jerry: Ensure that symbol properties can be set via computed object literals

Picked from upstream jerryscript-project/jerryscript/pull/2747

* Revert jerry_value_is_error/jerry_get_value_from_error to jerry_value_has_error_flag/jerry_get_value_without_error_flag

* jerry: Fixes assertion on calling String builtin with symbol

Picked from upstream jerryscript-project/jerryscript/pull/2803
legendecas added a commit to yodaos-project/ShadowNode that referenced this pull request Mar 29, 2019
* jerry: Add new symbol related API functions.

Picked from upstream jerryscript-project/jerryscript/pull/2741

* n-api: add napi_create_symbol

* jerry: Ensure that symbol properties can be set via computed object literals

Picked from upstream jerryscript-project/jerryscript/pull/2747

* Revert jerry_value_is_error/jerry_get_value_from_error to jerry_value_has_error_flag/jerry_get_value_without_error_flag

* jerry: Fixes assertion on calling String builtin with symbol

Picked from upstream jerryscript-project/jerryscript/pull/2803
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.

4 participants