| Index: pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| diff --git a/pkg/dev_compiler/lib/js/common/dart_sdk.js b/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| index 94dbef56c60129e41aad124f9c24d6281bd11a9c..d2a8ae59c2bc13d549de2c6aa717ad485ce7c0e9 100644
|
| --- a/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| +++ b/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| @@ -4267,12 +4267,20 @@
|
| });
|
| _interceptors.JSMutableArray = JSMutableArray();
|
| _interceptors.JSFixedArray$ = dart.generic(E => {
|
| - class JSFixedArray extends _interceptors.JSMutableArray$(E) {}
|
| + class JSFixedArray extends _interceptors.JSMutableArray$(E) {
|
| + new() {
|
| + super.new();
|
| + }
|
| + }
|
| return JSFixedArray;
|
| });
|
| _interceptors.JSFixedArray = JSFixedArray();
|
| _interceptors.JSExtendableArray$ = dart.generic(E => {
|
| - class JSExtendableArray extends _interceptors.JSMutableArray$(E) {}
|
| + class JSExtendableArray extends _interceptors.JSMutableArray$(E) {
|
| + new() {
|
| + super.new();
|
| + }
|
| + }
|
| return JSExtendableArray;
|
| });
|
| _interceptors.JSExtendableArray = JSExtendableArray();
|
| @@ -17069,6 +17077,7 @@
|
| class _ControllerStream extends async._StreamImpl$(T) {
|
| new(controller) {
|
| this[_controller$] = controller;
|
| + super.new();
|
| }
|
| [_createSubscription](onData, onError, onDone, cancelOnError) {
|
| return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError);
|
| @@ -20112,6 +20121,7 @@
|
| new(pending) {
|
| this[_pending] = pending;
|
| this[_isUsed] = false;
|
| + super.new();
|
| }
|
| [_createSubscription](onData, onError, onDone, cancelOnError) {
|
| if (dart.test(this[_isUsed])) dart.throw(new core.StateError("Stream has already been listened to."));
|
| @@ -29215,6 +29225,7 @@
|
| convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase {
|
| new(utf8Sink) {
|
| this[_utf8Sink] = utf8Sink;
|
| + super.new();
|
| }
|
| close() {
|
| this[_utf8Sink].close();
|
| @@ -29249,6 +29260,7 @@
|
| convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase {
|
| new(sink) {
|
| this[_sink$] = sink;
|
| + super.new();
|
| }
|
| close() {
|
| this[_sink$].close();
|
| @@ -29537,6 +29549,9 @@
|
| });
|
| const _add$1 = Symbol('_add');
|
| convert._Base64EncoderSink = class _Base64EncoderSink extends convert.ByteConversionSinkBase {
|
| + new() {
|
| + super.new();
|
| + }
|
| add(source) {
|
| this[_add$1](source, 0, source[dartx.length], false);
|
| }
|
| @@ -29559,6 +29574,7 @@
|
| new(sink, urlSafe) {
|
| this[_sink$] = sink;
|
| this[_encoder] = new convert._BufferCachingBase64Encoder(urlSafe);
|
| + super.new();
|
| }
|
| [_add$1](source, start, end, isLast) {
|
| let buffer = this[_encoder].encode(source, start, end, isLast);
|
| @@ -29583,6 +29599,7 @@
|
| new(sink, urlSafe) {
|
| this[_sink$] = sink;
|
| this[_encoder] = new convert._Base64Encoder(urlSafe);
|
| + super.new();
|
| }
|
| [_add$1](source, start, end, isLast) {
|
| let buffer = this[_encoder].encode(source, start, end, isLast);
|
| @@ -29934,6 +29951,7 @@
|
| convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase {
|
| new(sink) {
|
| this[_sink$] = sink;
|
| + super.new();
|
| }
|
| add(chunk) {
|
| this[_sink$].add(chunk);
|
| @@ -29958,6 +29976,7 @@
|
| this[_buffer] = typed_data.Uint8List.new(convert._ByteCallbackSink._INITIAL_BUFFER_SIZE);
|
| this[_callback] = callback;
|
| this[_bufferIndex] = 0;
|
| + super.new();
|
| }
|
| add(chunk) {
|
| let freeCount = dart.notNull(this[_buffer][dartx.length]) - dart.notNull(this[_bufferIndex]);
|
| @@ -31303,6 +31322,7 @@
|
| convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase {
|
| new(sink) {
|
| this[_sink$] = sink;
|
| + super.new();
|
| }
|
| close() {
|
| this[_sink$].close();
|
|
|