Missing return statements in informative desugaring?
littledan opened this issue · 3 comments
littledan commented
In http://tc39.github.io/ecmascript-asyncawait/#desugaring , I wonder if you want to write 'return' before the last 'step' call and the Promise.resolve call.
bterlson commented
Really need to get line numbers in the source listings. But I don't think a return is needed because the return value of the constructor function isn't used for anything afaik? As long as step ultimately calls resolve or reject it should be ok?
littledan commented
Oh of course, my mistake
bterlson commented
Where is the flogging emoji when you need it???