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

Unified Diff: test/regression/0100/0108.unit

Issue 1493553002: Smarter splitting around named collection arguments. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years 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 | « lib/src/source_visitor.dart ('k') | test/regression/0100/0162.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/0100/0108.unit
diff --git a/test/regression/0100/0108.unit b/test/regression/0100/0108.unit
index 1dfd334d2d3d27e3261c242775fa5fb27852c16f..59bb3161783686de1f57c2bd0de19224030e509a 100644
--- a/test/regression/0100/0108.unit
+++ b/test/regression/0100/0108.unit
@@ -199,8 +199,8 @@ class ElementBinder {
_bindAssignablePropsOn.forEach((String eventName) =>
node.addEventListener(
eventName,
- (_) => zone.run(() => bindAssignableProps.forEach(
- (propAndExp) => propAndExp[1]
+ (_) => zone.run(() => bindAssignableProps.forEach((propAndExp) =>
+ propAndExp[1]
.assign(scope.context, jsNode[propAndExp[0]])))));
}
}
@@ -212,12 +212,13 @@ async.Future<List<dom.StyleElement>> call(String tag, List<String> cssUrls, {Typ
DDC$RT.type((Iterable<Future<dynamic>> _) {}), key: "Cast failed: package:angular/core_dom/component_css_loader.dart:17:25"))),
DDC$RT.type((Future<List<StyleElement>> _) {}), key: "Cast failed: package:angular/core_dom/component_css_loader.dart:17:7"));
<<<
-async.Future<List<dom.StyleElement>> call(String tag, List<String> cssUrls,
- {Type type}) =>
+async.Future<List<dom.StyleElement>> call(String tag, List<String> cssUrls, {Type type}) =>
(DDC$RT.cast(
async.Future.wait((DDC$RT.cast(
- cssUrls.map((url) =>
- _styleElement(tag, (DDC$RT.cast(url, String, key: "Cast failed: package:angular/core_dom/component_css_loader.dart:17:65")), type)),
+ cssUrls.map((url) => _styleElement(
+ tag,
+ (DDC$RT.cast(url, String, key: "Cast failed: package:angular/core_dom/component_css_loader.dart:17:65")),
+ type)),
DDC$RT.type((Iterable<Future<dynamic>> _) {}),
key: "Cast failed: package:angular/core_dom/component_css_loader.dart:17:25"))),
DDC$RT.type((Future<List<StyleElement>> _) {}),
« no previous file with comments | « lib/src/source_visitor.dart ('k') | test/regression/0100/0162.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698