Editorial: set [[SourceText]] for async arrow functions#1548
Editorial: set [[SourceText]] for async arrow functions#1548ljharb merged 1 commit intotc39:masterfrom
Conversation
michaelficarra
left a comment
There was a problem hiding this comment.
Haha there's too many ways to create functions! I got async FDs, async FEs, and async methods, but I missed async arrows. LGTM.
|
After looking some more, I'm thinking that the NamedEvaluation of a ClassExpression should also have a |
|
Seems right to me - are there any other cases? |
|
@jmdyck That |
|
Yeah, I noticed that strangeness, but I don't know enough to question it yet. |
No, I don't think so. |
These lines didn't appear in tc39#697. `@ljharb` says that was likely an oversight: tc39#1458 (comment)
ea88962 to
fea0b84
Compare
|
(Just noticed that @anba included these additions in the first commit of PR #1490. @michaelficarra: That commit also handles the NamedEvaluation of a ClassExpression, discussed above.) |
These lines didn't appear in #697.
@ljharb says that was likely an oversight: