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

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

Issue 959073002: Fix new line breaks on } (Closed) Base URL: git@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
« no previous file with comments | « test/dart_codegen/expect/async/async_error.dart ('k') | test/dart_codegen/expect/collection/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/async/broadcast_stream_controller.dart
diff --git a/test/dart_codegen/expect/async/broadcast_stream_controller.dart b/test/dart_codegen/expect/async/broadcast_stream_controller.dart
index 096b076ce0516f8018fef92c83fe81df7fa57007..9096fa1f8372772e87309ce526b13c9da0feba4a 100644
--- a/test/dart_codegen/expect/async/broadcast_stream_controller.dart
+++ b/test/dart_codegen/expect/async/broadcast_stream_controller.dart
@@ -265,9 +265,7 @@ assert (_doneFuture != null); assert (_doneFuture._mayComplete); _doneFuture._as
}
class _AsyncBroadcastStreamController<T> extends _BroadcastStreamController<T> {_AsyncBroadcastStreamController(void onListen(), void onCancel()) : super(onListen, onCancel);
void _sendData(T data) {
-for (_BroadcastSubscriptionLink link = _next;
- !identical(link, this);
- link = link._next) {
+for (_BroadcastSubscriptionLink link = _next; !identical(link, this); link = link._next) {
_BroadcastSubscription<T> subscription = DDC$RT.cast(link, _BroadcastSubscriptionLink, DDC$RT.type((_BroadcastSubscription<T> _) {
}
), "CastGeneral", """line 393, column 48 of dart:async/broadcast_stream_controller.dart: """, link is _BroadcastSubscription<T>, false);
@@ -275,9 +273,7 @@ _BroadcastSubscription<T> subscription = DDC$RT.cast(link, _BroadcastSubscriptio
}
}
void _sendError(Object error, StackTrace stackTrace) {
-for (_BroadcastSubscriptionLink link = _next;
- !identical(link, this);
- link = link._next) {
+for (_BroadcastSubscriptionLink link = _next; !identical(link, this); link = link._next) {
_BroadcastSubscription<T> subscription = DDC$RT.cast(link, _BroadcastSubscriptionLink, DDC$RT.type((_BroadcastSubscription<T> _) {
}
), "CastGeneral", """line 402, column 48 of dart:async/broadcast_stream_controller.dart: """, link is _BroadcastSubscription<T>, false);
@@ -286,9 +282,7 @@ _BroadcastSubscription<T> subscription = DDC$RT.cast(link, _BroadcastSubscriptio
}
void _sendDone() {
if (!_isEmpty) {
-for (_BroadcastSubscriptionLink link = _next;
- !identical(link, this);
- link = link._next) {
+for (_BroadcastSubscriptionLink link = _next; !identical(link, this); link = link._next) {
_BroadcastSubscription<T> subscription = DDC$RT.cast(link, _BroadcastSubscriptionLink, DDC$RT.type((_BroadcastSubscription<T> _) {
}
), "CastGeneral", """line 412, column 50 of dart:async/broadcast_stream_controller.dart: """, link is _BroadcastSubscription<T>, false);
« no previous file with comments | « test/dart_codegen/expect/async/async_error.dart ('k') | test/dart_codegen/expect/collection/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698