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

Unified Diff: pkg/compiler/lib/src/common/tasks.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/common/work.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/tasks.dart
diff --git a/pkg/compiler/lib/src/common/tasks.dart b/pkg/compiler/lib/src/common/tasks.dart
index 1088363e0dbc3126f5590649b80c034749c2ed1b..69e5f113bd077952612905f02d7db43ea25ff970 100644
--- a/pkg/compiler/lib/src/common/tasks.dart
+++ b/pkg/compiler/lib/src/common/tasks.dart
@@ -4,14 +4,11 @@
library dart2js.common.tasks;
-import 'dart:developer' show
- UserTag;
+import 'dart:developer' show UserTag;
import '../common.dart';
-import '../compiler.dart' show
- Compiler;
-import '../elements/elements.dart' show
- Element;
+import '../compiler.dart' show Compiler;
+import '../elements/elements.dart' show Element;
typedef void DeferredAction();
@@ -80,8 +77,8 @@ class CompilerTask {
// Use a nested CompilerTask for the measurement to ensure nested [measure]
// calls work correctly. The subtasks will never themselves have nested
// subtasks because they are not accessible outside.
- GenericTask subtask = _subtasks.putIfAbsent(name,
- () => new GenericTask(name, compiler));
+ GenericTask subtask =
+ _subtasks.putIfAbsent(name, () => new GenericTask(name, compiler));
return subtask.measure(action);
}
@@ -93,6 +90,5 @@ class CompilerTask {
class GenericTask extends CompilerTask {
final String name;
- GenericTask(this.name, Compiler compiler)
- : super(compiler);
+ GenericTask(this.name, Compiler compiler) : super(compiler);
}
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/common/work.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698