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

Unified Diff: test/dart_codegen/expect/convert/converter.dart

Issue 1148283010: Remove dart backend (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/dart_codegen/expect/convert/convert ('k') | test/dart_codegen/expect/convert/encoding.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/convert/converter.dart
diff --git a/test/dart_codegen/expect/convert/converter.dart b/test/dart_codegen/expect/convert/converter.dart
deleted file mode 100644
index 70171087bc55d41ec555b4f1996b8da7f6e02cb0..0000000000000000000000000000000000000000
--- a/test/dart_codegen/expect/convert/converter.dart
+++ /dev/null
@@ -1,21 +0,0 @@
-part of dart.convert;
- abstract class Converter<S, T> implements StreamTransformer<S, T> {const Converter();
- T convert(S input);
- Converter<S, dynamic> fuse(Converter<T, dynamic> other) {
- return new _FusedConverter<S, T, dynamic>(this, other);
- }
- ChunkedConversionSink startChunkedConversion(Sink<T> sink) {
- throw new UnsupportedError("This converter does not support chunked conversions: $this");
- }
- Stream<T> bind(Stream<S> source) {
- return new Stream<T>.eventTransformed(source, (EventSink sink) => new _ConverterStreamEventSink(this, sink));
- }
-}
- class _FusedConverter<S, M, T> extends Converter<S, T> {final Converter _first;
- final Converter _second;
- _FusedConverter(this._first, this._second);
- T convert(S input) => ((__x2) => DEVC$RT.cast(__x2, dynamic, T, "CompositeCast", """line 58, column 25 of dart:convert/converter.dart: """, __x2 is T, false))(_second.convert(_first.convert(input)));
- ChunkedConversionSink startChunkedConversion(Sink<T> sink) {
-return _first.startChunkedConversion(_second.startChunkedConversion(sink));
-}
-}
« no previous file with comments | « test/dart_codegen/expect/convert/convert ('k') | test/dart_codegen/expect/convert/encoding.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698