facebookarchive/prepack

Adapt evaluators to deal with abstract conversion values

Open

#1,109 opened on Oct 27, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (520 forks)batch import
abstracthelp wantedlevel 3 (medium)test needed

Repository metrics

Stars
 (14,268 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

The evaluators for binary and unary expression already have logic that allows them to deal with abstract operands. This does not cover the case where a concrete operand may become abstract after implicit conversion.

This pull request fixes this for the + operator: #1108. Follow that model for the other operators.

Contributor guide