Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: test/message/class-constructor-accessor.js

Issue 982153003: [parser] better error message for generator constructors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added message tests Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/preparser.h ('k') | test/message/class-constructor-accessor.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/class-constructor-accessor.js
diff --git a/test/message/super-constructor.js b/test/message/class-constructor-accessor.js
similarity index 79%
copy from test/message/super-constructor.js
copy to test/message/class-constructor-accessor.js
index 430dc58ce71b5cffc3150322eb91c408e5892ece..edc3c131697ed513a7c7a15c95e9aae2c68788ad 100644
--- a/test/message/super-constructor.js
+++ b/test/message/class-constructor-accessor.js
@@ -6,9 +6,5 @@
'use strict';
class C {
- constructor() {
- super(this.x);
- }
+ get constructor() {}
}
-
-var c = new C();
« no previous file with comments | « src/preparser.h ('k') | test/message/class-constructor-accessor.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698