1. 03 May, 2016 3 commits
    • v8-autoroll's avatar
      Update V8 DEPS. · cb73f264
      v8-autoroll authored
      Rolling v8/build to 41661dd32f84419c998ffcb52bd5baff0fe94bc9
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review-Url: https://codereview.chromium.org/1945553002
      Cr-Commit-Position: refs/heads/master@{#35958}
      cb73f264
    • adamk's avatar
      Properly disallow 'yield' in class expressions and arrow parameters · 9e9abcff
      adamk authored
      Yield expressions are not allowed in formal parameter initializers of
      generators, but we weren't properly catching the case where the yield
      expression appeared in the 'extends' clause of a class expression.
      
      They also aren't allowed in arrow functions, which we were failing to
      catch due to not looking at the obscurely-named "FormalParameterInitializerError"
      bit of ExpressionClassifier.
      
      This patch passes along an ExpressionClassifier when parsing class
      expressions and accumulates the proper error for that case.
      
      For the arrow function case, the fix is simply to check for the
      "formal parameter initializer" error once we know we've parsed
      an arrow function. The error message used for this has also
      been made specific to yield expressions.
      
      Tests are added both for the error case and the non-error cases (where
      yield is used in such a position inside the class body).
      
      BUG=v8:4966, v8:4968, v8:4974
      LOG=n
      
      Review-Url: https://codereview.chromium.org/1941823003
      Cr-Commit-Position: refs/heads/master@{#35957}
      9e9abcff
    • Adam Klein's avatar
      Skip new module test262 tests that fail on the waterfall · 5b8845bd
      Adam Klein authored
      BUG=v8:4985
      LOG=n
      TBR=littledan@chromium.org
      
      Review URL: https://codereview.chromium.org/1939423002 .
      
      Cr-Commit-Position: refs/heads/master@{#35956}
      5b8845bd
  2. 02 May, 2016 37 commits