| 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 f23ad0e4c2238253753fb744ed0014a6fbd8983f..6f93ee15851230592b3e05ab2208dc3f0876595c 100644
|
| --- a/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| +++ b/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| @@ -28820,9 +28820,7 @@
|
| let const$28;
|
| let const$29;
|
| convert.Codec$ = dart.generic((S, T) => {
|
| - let _FusedCodecOfS$T$dynamic = () => (_FusedCodecOfS$T$dynamic = dart.constFn(convert._FusedCodec$(S, T, dart.dynamic)))();
|
| let _InvertedCodecOfT$S = () => (_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))();
|
| - let CodecOfT$dynamic = () => (CodecOfT$dynamic = dart.constFn(convert.Codec$(T, dart.dynamic)))();
|
| class Codec extends core.Object {
|
| new() {
|
| }
|
| @@ -28834,9 +28832,11 @@
|
| T._check(encoded);
|
| return this.decoder.convert(encoded);
|
| }
|
| - fuse(other) {
|
| - CodecOfT$dynamic()._check(other);
|
| - return new (_FusedCodecOfS$T$dynamic())(this, other);
|
| + fuse(R) {
|
| + return other => {
|
| + convert.Codec$(T, R)._check(other);
|
| + return new (convert._FusedCodec$(S, T, R))(this, other);
|
| + };
|
| }
|
| get inverted() {
|
| return new (_InvertedCodecOfT$S())(this);
|
| @@ -28849,7 +28849,7 @@
|
| methods: () => ({
|
| encode: dart.definiteFunctionType(T, [S]),
|
| decode: dart.definiteFunctionType(S, [T]),
|
| - fuse: dart.definiteFunctionType(convert.Codec$(S, dart.dynamic), [CodecOfT$dynamic()])
|
| + fuse: dart.definiteFunctionType(R => [convert.Codec$(S, R), [convert.Codec$(T, R)]])
|
| })
|
| });
|
| return Codec;
|
| @@ -35943,7 +35943,7 @@
|
| if (dart.test(base64)) {
|
| buffer.write(';base64,');
|
| indices[dartx.add](dart.notNull(buffer.length) - 1);
|
| - buffer.write(encoding.fuse(convert.BASE64).encode(content));
|
| + buffer.write(encoding.fuse(core.String)(convert.BASE64).encode(content));
|
| } else {
|
| buffer.write(',');
|
| core.UriData._uriEncodeBytes(core.UriData._uricTable, encoding.encode(content), buffer);
|
|
|