Skip to content

Conversation

@rtakacs
Copy link
Contributor

@rtakacs rtakacs commented Jan 17, 2019

Replaced the newly introduced explicit boolean conversions to logical operators.

Reasons:

  • to be the boolean type conversion consistent in JerryScript
  • fix object-get-own-property-symbols test on NuttX and TizenRT

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.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.

LGTM (informal)

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.

LGTM

@rerobika
Copy link
Member

Side note for the object-get-own-property-symbols fail:

The original code assumed that after const bool is_symbols_only = (const bool) (opts & ECMA_LIST_SYMBOLS); initialization the value of is_symbols_only is 0/1 but in NuttX and TizenRT the value of is_symbols_only is ECMA_LIST_SYMBOLS(8). Due to that this comparison failed.

@akosthekiss akosthekiss merged commit 162e2dd into jerryscript-project:master Jan 17, 2019
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

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