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

Unified Diff: lib/runtime/dart/convert.js

Issue 1050723002: partially implement instance of checks and some codegen fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/convert.js
diff --git a/lib/runtime/dart/convert.js b/lib/runtime/dart/convert.js
index 0a34e7b5dca0cc705cdb23b33e65f94b89b394bd..d12ce698e1b6b52e14929224ec3184e0c780cc47 100644
--- a/lib/runtime/dart/convert.js
+++ b/lib/runtime/dart/convert.js
@@ -16,10 +16,10 @@ var convert;
return this.decoder.convert(encoded);
}
fuse(other) {
- return new _FusedCodec(this, other);
+ return new (_FusedCodec$(S, T, dynamic))(this, other);
}
get inverted() {
- return new _InvertedCodec(this);
+ return new (_InvertedCodec$(T, S))(this);
}
}
return Codec;
@@ -77,7 +77,7 @@ var convert;
Converter() {
}
fuse(other) {
- return new _FusedConverter(this, other);
+ return new (_FusedConverter$(S, T, dynamic))(this, other);
}
startChunkedConversion(sink) {
throw new core.UnsupportedError(`This converter does not support chunked conversions: ${this}`);
@@ -1364,7 +1364,7 @@ var convert;
super.Converter();
}
convert(data) {
- let lines = new core.List();
+ let lines = new (core.List$(core.String))();
_LineSplitterSink._addSlice(data, 0, data.length, true, lines.add);
return lines;
}
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698