5af4cd9840
Tail calls don't make sense from async functions and generators, as each activation of these functions needs to make a new, distnict, non-reused generator object. These tail calls are not required per spec. This patch disables both syntactic and implicit tail calls in async functions and generators. R=neis BUG=v8:5301,chromium:639270 Review-Url: https://codereview.chromium.org/2278413003 Cr-Commit-Position: refs/heads/master@{#38986}
5 lines
172 B
Plaintext
5 lines
172 B
Plaintext
*%(basename)s:13: SyntaxError: Tail call expression is not allowed here
|
|
return continue f();
|
|
^^^
|
|
SyntaxError: Tail call expression is not allowed here
|