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

Unified Diff: pkg/dev_compiler/lib/js/amd/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 | « no previous file | pkg/dev_compiler/lib/js/common/dart_sdk.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/js/amd/dart_sdk.js
diff --git a/pkg/dev_compiler/lib/js/amd/dart_sdk.js b/pkg/dev_compiler/lib/js/amd/dart_sdk.js
index de706ad07d9f5fd2ef9d98ae15a58e24e7bebcd0..2049ddac72bf35f53a21e39c993faf1e43e06e43 100644
--- a/pkg/dev_compiler/lib/js/amd/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/amd/dart_sdk.js
@@ -28820,9 +28820,7 @@ define([], function() {
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 @@ define([], function() {
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 @@ define([], function() {
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 @@ define([], function() {
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 | « no previous file | pkg/dev_compiler/lib/js/common/dart_sdk.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698