Open goresynopsys opened 2 years ago
Update: this may have more to do with optional chaining within a delete
call than the if
statements...
We're also seeing this bug with current_page: pagination.self?.number ?? 0,
ember-cli-babel converts that to current_page: undefined ?? 0,
We discovered a discrepancy between transpiled and untranspiled Javascript which was introduced when upgrading
ember-cli-babel
from7.26.4
to7.26.11
. Nestedif
statements get transpiled incorrectly (removing the nestedif
):(source)
(transpiled)
Our interim fix involved refactoring the duplicated, target key to
delete
into a new variable,taxonomyType
, as follows: