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

Unified Diff: pkg/dev_compiler/lib/js/legacy/dart_sdk.js

Issue 2484853002: recompile for 4179bd7601be (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/lib/sdk/ddc_sdk.sum » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ba55c46c2f0ac9b00238ea62606ce8ed7d631910..c1fe1c250acf8af5681a87933acdc68cc36c52df 100644
--- a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
@@ -28821,9 +28821,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
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() {
}
@@ -28835,9 +28833,11 @@ dart_library.library('dart_sdk', null, /* Imports */[
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);
@@ -28850,7 +28850,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
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;
@@ -35944,7 +35944,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
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);
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/lib/sdk/ddc_sdk.sum » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698