v8/test/message/fail/class-field-static-constructor.out
Sathya Gunasekaran 5f0ef667c7 [class] Remove flags for class fields
Bug: v8:5367, v8:5368
Change-Id: I86f25f9f658e21a05604f3014e6ebf74f1a8a1f7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1590164
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61139}
2019-05-01 02:02:51 +00:00

4 lines
199 B
Plaintext

*%(basename)s:6: SyntaxError: Classes may not have a field named 'constructor'
static constructor = function() {};
^^^^^^^^^^^
SyntaxError: Classes may not have a field named 'constructor'