js-temporal / temporal-polyfill

Polyfill for Temporal (under construction)
ISC License
529 stars 28 forks source link

Remove expected-failures-opt.txt with new Terser release #222

Closed 12wrigja closed 1 year ago

12wrigja commented 1 year ago

Context: https://github.com/terser/terser/issues/1115

our expected-failures-opt.txt file consists entirely of Function.length tests that fail when the polyfill is being optimized by Terser because Terser drops default arguments. Now that the Upstream Terser issue is closed, once a release is available we should clean this list up.

Note that changing our Terser release will likely impact our production bundle output (though probably not in backward-incompatible ways).