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

Unified Diff: test/dart_codegen/expect/async/stream_pipe.dart

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix Created 5 years, 8 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
Index: test/dart_codegen/expect/async/stream_pipe.dart
diff --git a/test/dart_codegen/expect/async/stream_pipe.dart b/test/dart_codegen/expect/async/stream_pipe.dart
index b468d50173c97212492d061b5c5c0808f17d26d1..8bc784664c5f08037f4e498a6ec4392de808e65f 100644
--- a/test/dart_codegen/expect/async/stream_pipe.dart
+++ b/test/dart_codegen/expect/async/stream_pipe.dart
@@ -55,8 +55,8 @@ part of dart.async;
return new _ForwardingStreamSubscription<S, T>(this, onData, onError, onDone, cancelOnError);
}
void _handleData(S data, _EventSink<T> sink) {
- var outputData = data;
- sink._add(outputData);
+ dynamic outputData = data;
+ sink._add(DEVC$RT.cast(outputData, dynamic, T, "CompositeCast", """line 104, column 15 of dart:async/stream_pipe.dart: """, outputData is T, false));
}
void _handleError(error, StackTrace stackTrace, _EventSink<T> sink) {
sink._addError(error, stackTrace);
@@ -130,7 +130,7 @@ sink._add(inputEvent);
void _handleData(S inputEvent, _EventSink<T> sink) {
T outputEvent;
try {
-outputEvent = ((__x61) => DEVC$RT.cast(__x61, dynamic, T, "CompositeCast", """line 235, column 21 of dart:async/stream_pipe.dart: """, __x61 is T, false))(_transform(inputEvent));
+outputEvent = ((__x63) => DEVC$RT.cast(__x63, dynamic, T, "CompositeCast", """line 235, column 21 of dart:async/stream_pipe.dart: """, __x63 is T, false))(_transform(inputEvent));
}
catch (e, s) {
_addErrorWithReplacement(sink, e, s);

Powered by Google App Engine
This is Rietveld 408576698