| Index: pkg/dev_compiler/lib/js/legacy/dart_sdk.js
|
| diff --git a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
|
| index de204bc32acc4831f8ad4f640a786cc48b14f5b1..19055e9d4d9f3e03d57c25b958c7cdd84223f0c7 100644
|
| --- a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
|
| +++ b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
|
| @@ -4268,12 +4268,20 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| });
|
| _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();
|
| @@ -17070,6 +17078,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| 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);
|
| @@ -20113,6 +20122,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| 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."));
|
| @@ -29216,6 +29226,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase {
|
| new(utf8Sink) {
|
| this[_utf8Sink] = utf8Sink;
|
| + super.new();
|
| }
|
| close() {
|
| this[_utf8Sink].close();
|
| @@ -29250,6 +29261,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase {
|
| new(sink) {
|
| this[_sink$] = sink;
|
| + super.new();
|
| }
|
| close() {
|
| this[_sink$].close();
|
| @@ -29538,6 +29550,9 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| });
|
| 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);
|
| }
|
| @@ -29560,6 +29575,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| 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);
|
| @@ -29584,6 +29600,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| 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);
|
| @@ -29935,6 +29952,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase {
|
| new(sink) {
|
| this[_sink$] = sink;
|
| + super.new();
|
| }
|
| add(chunk) {
|
| this[_sink$].add(chunk);
|
| @@ -29959,6 +29977,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| 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]);
|
| @@ -31304,6 +31323,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase {
|
| new(sink) {
|
| this[_sink$] = sink;
|
| + super.new();
|
| }
|
| close() {
|
| this[_sink$].close();
|
|
|