ffda54fbd4
See https://tc39.github.io/proposal-class-fields/#sec-static-semantics-early-errors Bug: v8:5367 Change-Id: I0329d1b41c4658b733df47397fbcc2c16bad117e Reviewed-on: https://chromium-review.googlesource.com/792946 Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#49672}
4 lines
185 B
Plaintext
4 lines
185 B
Plaintext
*%(basename)s:8: SyntaxError: Classes may not have a field named 'constructor'
|
|
constructor = function() {};
|
|
^^^^^^^^^^^
|
|
SyntaxError: Classes may not have a field named 'constructor' |