mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 20:01:07 +01:00
Since #9138, spread steps the array's iterator, so spreading a long array ends at the fuel limit instead of an early RangeError. Three tests in es2015_tests.rs still expected the by-index RangeError and failed: - an_index_setter_without_a_getter_does_not_delay_the_spread_s_check - a_prototype_getter_behind_an_own_element_does_not_delay_the_spread_s_check - looking_for_index_getters_takes_fuel_for_each_property The setter and prototype-getter tests now check the fuel limit and that the setter or getter did not run. The test of the index-getter scan, which #9138 removed, is deleted. docs/target-app-parity.md had two ES2015 entries after #9138. The by-index entry is removed; the entry that describes iterator spread stays.