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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « no previous file | lib/runtime/dart/_js_helper.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var _interceptors; 1 var _interceptors;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 let JSArray = Array; 4 let JSArray = Array;
5 let JSMutableArray$ = dart.generic(function(E) { 5 let JSMutableArray$ = dart.generic(function(E) {
6 class JSMutableArray extends JSArray$(E) {} 6 class JSMutableArray extends JSArray$(E) {
7 JSMutableArray() {
8 super.JSArray();
9 }
10 }
7 JSMutableArray[dart.implements] = () => [JSMutableIndexable]; 11 JSMutableArray[dart.implements] = () => [JSMutableIndexable];
8 return JSMutableArray; 12 return JSMutableArray;
9 }); 13 });
10 let JSMutableArray = JSMutableArray$(); 14 let JSMutableArray = JSMutableArray$();
11 let JSFixedArray$ = dart.generic(function(E) { 15 let JSFixedArray$ = dart.generic(function(E) {
12 class JSFixedArray extends JSMutableArray$(E) {} 16 class JSFixedArray extends JSMutableArray$(E) {}
13 return JSFixedArray; 17 return JSFixedArray;
14 }); 18 });
15 let JSFixedArray = JSFixedArray$(); 19 let JSFixedArray = JSFixedArray$();
16 let JSExtendableArray$ = dart.generic(function(E) { 20 let JSExtendableArray$ = dart.generic(function(E) {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 JSInt[dart.implements] = () => [core.int, core.double]; 416 JSInt[dart.implements] = () => [core.int, core.double];
413 class JSDouble extends JSNumber { 417 class JSDouble extends JSNumber {
414 JSDouble() { 418 JSDouble() {
415 super.JSNumber(); 419 super.JSNumber();
416 } 420 }
417 get runtimeType() { 421 get runtimeType() {
418 return core.double; 422 return core.double;
419 } 423 }
420 } 424 }
421 JSDouble[dart.implements] = () => [core.double]; 425 JSDouble[dart.implements] = () => [core.double];
422 class JSPositiveInt extends JSInt {} 426 class JSPositiveInt extends JSInt {
427 JSPositiveInt() {
428 super.JSInt();
429 }
430 }
423 class JSUInt32 extends JSPositiveInt {} 431 class JSUInt32 extends JSPositiveInt {}
424 class JSUInt31 extends JSUInt32 {} 432 class JSUInt31 extends JSUInt32 {}
425 let _defaultSplit = Symbol('_defaultSplit'); 433 let _defaultSplit = Symbol('_defaultSplit');
426 class JSString extends Interceptor { 434 class JSString extends Interceptor {
427 JSString() { 435 JSString() {
428 super.Interceptor(); 436 super.Interceptor();
429 } 437 }
430 codeUnitAt(index) { 438 codeUnitAt(index) {
431 if (!(typeof index == 'number')) 439 if (!(typeof index == 'number'))
432 throw new core.ArgumentError(index); 440 throw new core.ArgumentError(index);
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 exports.findInterceptorForType = findInterceptorForType; 1080 exports.findInterceptorForType = findInterceptorForType;
1073 exports.JSBool = JSBool; 1081 exports.JSBool = JSBool;
1074 exports.JSNull = JSNull; 1082 exports.JSNull = JSNull;
1075 exports.JSIndexable = JSIndexable; 1083 exports.JSIndexable = JSIndexable;
1076 exports.JSMutableIndexable = JSMutableIndexable; 1084 exports.JSMutableIndexable = JSMutableIndexable;
1077 exports.JSObject = JSObject; 1085 exports.JSObject = JSObject;
1078 exports.JavaScriptObject = JavaScriptObject; 1086 exports.JavaScriptObject = JavaScriptObject;
1079 exports.PlainJavaScriptObject = PlainJavaScriptObject; 1087 exports.PlainJavaScriptObject = PlainJavaScriptObject;
1080 exports.UnknownJavaScriptObject = UnknownJavaScriptObject; 1088 exports.UnknownJavaScriptObject = UnknownJavaScriptObject;
1081 })(_interceptors || (_interceptors = {})); 1089 })(_interceptors || (_interceptors = {}));
OLDNEW
« 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