archives

« Bugzilla Issues Index

#4541 — Incorrect use of completion value after ReturnIfAbrupt


In a couple of places, ReturnIfAbrupt is invoked on a completion value, but later steps assume that it is still a completion record, although the macro replaces the variable with its .[[value]]:

- 13.2.13 step 4
- 13.6.7 (1st production) step 7
- 13.6.7 (2nd production) step 5.c


Fixed in ES2016 Draft.