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

Unified Diff: test/codegen/expect/extensions.js

Issue 1965213003: simplify constructors, fixes #564 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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/codegen/expect/expect/expect.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/extensions.js
diff --git a/test/codegen/expect/extensions.js b/test/codegen/expect/extensions.js
index 099cd216c35e4ffbef73bb7bcd226f4144fbe486..9cfa8105cd720bcd7fea15f38c620abceee3e6e5 100644
--- a/test/codegen/expect/extensions.js
+++ b/test/codegen/expect/extensions.js
@@ -8,9 +8,9 @@ dart_library.library('extensions', null, /* Imports */[
const dartx = dart_sdk.dartx;
const extensions = Object.create(null);
extensions.StringIterable = class StringIterable extends collection.IterableBase$(core.String) {
- StringIterable() {
+ new() {
this.iterator = null;
- super.IterableBase();
+ super.new();
}
};
dart.setSignature(extensions.StringIterable, {});
« no previous file with comments | « test/codegen/expect/expect/expect.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698