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

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

Issue 959003003: Typecheck constructor initializers properly (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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_transformers.dart
diff --git a/test/dart_codegen/expect/async/stream_transformers.dart b/test/dart_codegen/expect/async/stream_transformers.dart
index fe2062ffb88ce040fc6f9065d049a4b5240cf913..fa0bd43d5445757b87d54358de2e80466880635e 100644
--- a/test/dart_codegen/expect/async/stream_transformers.dart
+++ b/test/dart_codegen/expect/async/stream_transformers.dart
@@ -95,11 +95,11 @@ try {
Function onError, void onDone(), bool cancelOnError}
) {
cancelOnError = identical(true, cancelOnError);
- StreamSubscription<T> subscription = ((__x118) => DDC$RT.cast(__x118, DDC$RT.type((_SinkTransformerStreamSubscription<dynamic, dynamic> _) {
+ StreamSubscription<T> subscription = ((__x123) => DDC$RT.cast(__x123, DDC$RT.type((_SinkTransformerStreamSubscription<dynamic, dynamic> _) {
}
), DDC$RT.type((StreamSubscription<T> _) {
}
-), "CastExact", """line 186, column 42 of dart:async/stream_transformers.dart: """, __x118 is StreamSubscription<T>, false))(new _SinkTransformerStreamSubscription(_stream, _sinkMapper, onData, onError, onDone, cancelOnError));
+), "CastExact", """line 186, column 42 of dart:async/stream_transformers.dart: """, __x123 is StreamSubscription<T>, false))(new _SinkTransformerStreamSubscription(_stream, _sinkMapper, onData, onError, onDone, cancelOnError));
return subscription;
}
}
@@ -117,17 +117,17 @@ cancelOnError = identical(true, cancelOnError);
}
class _StreamHandlerTransformer<S, T> extends _StreamSinkTransformer<S, T> {_StreamHandlerTransformer({
void handleData(S data, EventSink<T> sink), void handleError(Object error, StackTrace stackTrace, EventSink<T> sink), void handleDone(EventSink<T> sink)}
-) : super(((__x125) => DDC$RT.wrap((dynamic f(EventSink<T> __u120)) {
-dynamic c(EventSink<T> x0) => ((__x119) => DDC$RT.cast(__x119, dynamic, DDC$RT.type((EventSink<S> _) {
+) : super(((__x130) => DDC$RT.wrap((dynamic f(EventSink<T> __u125)) {
+dynamic c(EventSink<T> x0) => ((__x124) => DDC$RT.cast(__x124, dynamic, DDC$RT.type((EventSink<S> _) {
}
-), "CastResult", """line 233, column 15 of dart:async/stream_transformers.dart: """, __x119 is EventSink<S>, false))(f(x0));
+), "CastResult", """line 233, column 15 of dart:async/stream_transformers.dart: """, __x124 is EventSink<S>, false))(f(x0));
return f == null ? null : c;
}
-, __x125, DDC$RT.type((__t123<T> _) {
+, __x130, DDC$RT.type((__t128<T> _) {
}
-), DDC$RT.type((__t121<T, S> _) {
+), DDC$RT.type((__t126<T, S> _) {
}
-), "WrapLiteral", """line 233, column 15 of dart:async/stream_transformers.dart: """, __x125 is __t121<T, S>))((EventSink<T> outputSink) {
+), "WrapLiteral", """line 233, column 15 of dart:async/stream_transformers.dart: """, __x130 is __t126<T, S>))((EventSink<T> outputSink) {
if (handleData == null) handleData = _defaultHandleData;
if (handleError == null) handleError = _defaultHandleError;
if (handleDone == null) handleDone = _defaultHandleDone;
@@ -166,5 +166,5 @@ cancelOnError = identical(true, cancelOnError);
return result;
}
}
- typedef EventSink<S> __t121<T, S>(EventSink<T> __u122);
- typedef dynamic __t123<T>(EventSink<T> __u124);
+ typedef EventSink<S> __t126<T, S>(EventSink<T> __u127);
+ typedef dynamic __t128<T>(EventSink<T> __u129);

Powered by Google App Engine
This is Rietveld 408576698