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

Unified Diff: pkg/dev_compiler/test/codegen/closure.dart

Issue 2752163002: Format all dart dev compiler files (Closed)
Patch Set: Created 3 years, 9 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 | « pkg/dev_compiler/test/codegen/async_helper.dart ('k') | pkg/dev_compiler/test/codegen/destructuring.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/test/codegen/closure.dart
diff --git a/pkg/dev_compiler/test/codegen/closure.dart b/pkg/dev_compiler/test/codegen/closure.dart
index ad2e3abd4614438fd805b99b5bf15281d9394c44..9e70097015c95289a3da3cdccd3c53fa8bd76ce9 100644
--- a/pkg/dev_compiler/test/codegen/closure.dart
+++ b/pkg/dev_compiler/test/codegen/closure.dart
@@ -1,5 +1,6 @@
// compile options: --closure-experimental --destructure-named-params --modules=es6
library test;
+
import 'dart:js';
List/*<T>*/ generic_function/*<T>*/(List/*<T>*/ items, dynamic/*=T*/ seed) {
@@ -23,10 +24,8 @@ class Foo<T> {
T pass(T t) => t;
- String typed_method(
- Foo foo, List list,
- int i, num n, double d, bool b, String s,
- JsArray a, JsObject o, JsFunction f) {
+ String typed_method(Foo foo, List list, int i, num n, double d, bool b,
+ String s, JsArray a, JsObject o, JsFunction f) {
return '';
}
@@ -40,7 +39,8 @@ class Foo<T> {
cb(i: i);
}
- run(List a, String b, List c(String d), List<int> e(f(g)), {Map<Map, Map> h}) {}
+ run(List a, String b, List c(String d), List<int> e(f(g)),
+ {Map<Map, Map> h}) {}
String get prop => null;
set prop(String value) {}
@@ -61,7 +61,9 @@ class Baz extends Foo<int> with Bar {
void main(args) {}
-var closure = () { return; };
+var closure = () {
+ return;
+};
const String some_top_level_constant = "abc";
final String some_top_level_final = "abc";
« no previous file with comments | « pkg/dev_compiler/test/codegen/async_helper.dart ('k') | pkg/dev_compiler/test/codegen/destructuring.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698