You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
See also tc39/proposal-do-expressions#24, tc39/proposal-do-expressions#21, and tc39/proposal-do-expressions#22. Definitely need to use the block interpretation, not the IIFE interpretation, which would prevent await; the original point of smart pipelines was to avoid unnecessary IIFEs. Might still be simplest to forbid break, continue, and return inside pipelines. Investigate whether an abrupt completion can be forwarded without much modification to other expression clauses.
Also see also babel/babel#3780 (comment). The semantics of the spec probably should match the semantics of the Babel transformation. This means that #11 might block this, since how pipelines in general are most elegantly transformed using the statement-hoisting described in babel/babel#3780 (comment) might affect how it also works with block pipelines.
See #1.
The text was updated successfully, but these errors were encountered: