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

Unified Diff: lib/runtime/dart/_interceptors.js

Issue 1122883002: Do not suppress implicit constructors that need a super call. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | lib/runtime/dart/_js_helper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_interceptors.js
diff --git a/lib/runtime/dart/_interceptors.js b/lib/runtime/dart/_interceptors.js
index ca2bb15fb2d950520c37a55401db8912a4b67c22..02b193597a2ce6e8175c5dae7e5208b214afa7d9 100644
--- a/lib/runtime/dart/_interceptors.js
+++ b/lib/runtime/dart/_interceptors.js
@@ -3,7 +3,11 @@ var _interceptors;
'use strict';
let JSArray = Array;
let JSMutableArray$ = dart.generic(function(E) {
- class JSMutableArray extends JSArray$(E) {}
+ class JSMutableArray extends JSArray$(E) {
+ JSMutableArray() {
+ super.JSArray();
+ }
+ }
JSMutableArray[dart.implements] = () => [JSMutableIndexable];
return JSMutableArray;
});
@@ -419,7 +423,11 @@ var _interceptors;
}
}
JSDouble[dart.implements] = () => [core.double];
- class JSPositiveInt extends JSInt {}
+ class JSPositiveInt extends JSInt {
+ JSPositiveInt() {
+ super.JSInt();
+ }
+ }
class JSUInt32 extends JSPositiveInt {}
class JSUInt31 extends JSUInt32 {}
let _defaultSplit = Symbol('_defaultSplit');
« no previous file with comments | « no previous file | lib/runtime/dart/_js_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698