Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

"Runtime Semantics: EvaluateBody" seems inconsistent with the existing spec #27

Closed
domenic opened this issue May 17, 2016 · 2 comments
Closed

Comments

@domenic
Copy link
Member

domenic commented May 17, 2016

As far as I can tell, this spec's step 1 (performing FunctionDeclarationInstantiation) is handled in the ES spec by OrdinaryCallEvaluateBody, so it shouldn't be in the runtime semantics here.

@zenparsing
Copy link
Member

Thanks for this great review work!

I was basing the EvaluateBody steps on the async-await spec, which does some refactoring there:

https://tc39.github.io/ecmascript-asyncawait/#sec-modified-OrdinaryCallEvaluateBody

@domenic
Copy link
Member Author

domenic commented Sep 15, 2016

Confirmed this is how it should work, and even managed to find a bug in tc39/ecma262#692 while doing so (it didn't carry over the update to OrdinaryCallEvaluateBody). Closing!

@domenic domenic closed this as completed Sep 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants