Skip to content

Conversation

@dbatyai
Copy link
Member

@dbatyai dbatyai commented Sep 23, 2020

No description provided.

@dbatyai dbatyai added ecma core Related to core ECMA functionality ES2015 Related to ES2015 features labels Sep 23, 2020
@dbatyai dbatyai changed the title Fix Symbol to Object comparision Fix Symbol to Object comparison Sep 24, 2020
@dbatyai dbatyai force-pushed the symbol_object_compare branch from 3136827 to b738776 Compare September 24, 2020 08:51
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.

LGTM

@ossy-szeged
Copy link
Contributor

LGTM (informal)

if (JERRY_UNLIKELY (ecma_is_value_symbol (x)))
{
return ECMA_VALUE_FALSE;
if (!ecma_is_value_object (y))
Copy link
Member

Choose a reason for hiding this comment

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

The other cases simply swapped the values.

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
@dbatyai dbatyai force-pushed the symbol_object_compare branch from b738776 to 54fc700 Compare September 25, 2020 12:16
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 9f93b0a into jerryscript-project:master Sep 28, 2020
@dbatyai dbatyai deleted the symbol_object_compare branch October 26, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecma core Related to core ECMA functionality ES2015 Related to ES2015 features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants