es-meta / esmeta

ECMAScript Specification (ECMA-262) Metalanguage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove implicit wrapping/unwrapping of completion records

h2oche opened this issue · comments

According to tc39/ecma262#2547,

  • Implicit conversion from value to normal completion only happens in the return of following algorithms:
    • AO annotated to return a completion record
    • the Evaluation SDO
    • built-in functions
  • Implicit conversion from normal completion to value is now forbidden.
  • Every AO should have explicit return step.