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

Side by Side Diff: lib/runtime/dart/convert.js

Issue 1122883002: Do not suppress implicit constructors that need a super call. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var convert; 1 var convert;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 let ASCII = dart.const(new AsciiCodec()); 4 let ASCII = dart.const(new AsciiCodec());
5 let _ASCII_MASK = 127; 5 let _ASCII_MASK = 127;
6 let _allowInvalid = Symbol('_allowInvalid'); 6 let _allowInvalid = Symbol('_allowInvalid');
7 let Codec$ = dart.generic(function(S, T) { 7 let Codec$ = dart.generic(function(S, T) {
8 class Codec extends core.Object { 8 class Codec extends core.Object {
9 Codec() { 9 Codec() {
10 } 10 }
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 withCallback(callback) { 254 withCallback(callback) {
255 return new _ByteCallbackSink(callback); 255 return new _ByteCallbackSink(callback);
256 } 256 }
257 from(sink) { 257 from(sink) {
258 return new _ByteAdapterSink(sink); 258 return new _ByteAdapterSink(sink);
259 } 259 }
260 } 260 }
261 dart.defineNamedConstructor(ByteConversionSink, 'withCallback'); 261 dart.defineNamedConstructor(ByteConversionSink, 'withCallback');
262 dart.defineNamedConstructor(ByteConversionSink, 'from'); 262 dart.defineNamedConstructor(ByteConversionSink, 'from');
263 class ByteConversionSinkBase extends ByteConversionSink { 263 class ByteConversionSinkBase extends ByteConversionSink {
264 ByteConversionSinkBase() {
265 super.ByteConversionSink();
266 }
264 addSlice(chunk, start, end, isLast) { 267 addSlice(chunk, start, end, isLast) {
265 this.add(chunk[core.$sublist](start, end)); 268 this.add(chunk[core.$sublist](start, end));
266 if (isLast) 269 if (isLast)
267 this.close(); 270 this.close();
268 } 271 }
269 } 272 }
270 class _ErrorHandlingAsciiDecoderSink extends ByteConversionSinkBase { 273 class _ErrorHandlingAsciiDecoderSink extends ByteConversionSinkBase {
271 _ErrorHandlingAsciiDecoderSink(utf8Sink) { 274 _ErrorHandlingAsciiDecoderSink(utf8Sink) {
272 this[_utf8Sink] = utf8Sink; 275 this[_utf8Sink] = utf8Sink;
273 } 276 }
(...skipping 2143 matching lines...) Expand 10 before | Expand all | Expand 10 after
2417 exports.LineSplitter = LineSplitter; 2420 exports.LineSplitter = LineSplitter;
2418 exports.StringConversionSink = StringConversionSink; 2421 exports.StringConversionSink = StringConversionSink;
2419 exports.ClosableStringSink = ClosableStringSink; 2422 exports.ClosableStringSink = ClosableStringSink;
2420 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E; 2423 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E;
2421 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; 2424 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE;
2422 exports.UTF8 = UTF8; 2425 exports.UTF8 = UTF8;
2423 exports.Utf8Codec = Utf8Codec; 2426 exports.Utf8Codec = Utf8Codec;
2424 exports.Utf8Encoder = Utf8Encoder; 2427 exports.Utf8Encoder = Utf8Encoder;
2425 exports.Utf8Decoder = Utf8Decoder; 2428 exports.Utf8Decoder = Utf8Decoder;
2426 })(convert || (convert = {})); 2429 })(convert || (convert = {}));
OLDNEW
« 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