commit | e45fba811fbf15751c3464c0d3973f6f8ee5c934 | [log] [tgz] |
---|---|---|
author | caitpotter88 <caitpotter88@gmail.com> | Tue Jun 21 19:46:39 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 21 19:48:15 2016 |
tree | cfc79f5d2cef7f14ae7035a1836054a1a3782079 | |
parent | 9bfd7b9d17be1575401dfdb685a3b67f6b8ffe20 [diff] |
[parser] only parse async arrow function when necessary Previously, an async arrow function would be parsed if any valid ConditionalExpression began with the identifier "async", and its following token was on the same line. So for example, `async.bar foo => 1` was parsed as a valid async arrow function. This patch corrects this behaviour by asserting that the following token is a valid arrow parameters start. BUG=v8:4483 R=littledan@chromium.org, henrique.ferreiro@gmail.com Review-Url: https://codereview.chromium.org/2089733002 Cr-Commit-Position: refs/heads/master@{#37154}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.