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

Unified Diff: test/message/class-constructor-generator.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 | « test/message/class-constructor-accessor.out ('k') | test/message/class-constructor-generator.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/class-constructor-generator.js
diff --git a/test/message/super-constructor.js b/test/message/class-constructor-generator.js
similarity index 79%
copy from test/message/super-constructor.js
copy to test/message/class-constructor-generator.js
index 430dc58ce71b5cffc3150322eb91c408e5892ece..5d370f865eaa84bd187aab7721acfc2a0a390eac 100644
--- a/test/message/super-constructor.js
+++ b/test/message/class-constructor-generator.js
@@ -6,9 +6,5 @@
'use strict';
class C {
- constructor() {
- super(this.x);
- }
+ *constructor() {}
}
-
-var c = new C();
« no previous file with comments | « test/message/class-constructor-accessor.out ('k') | test/message/class-constructor-generator.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698