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

Unified Diff: pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart

Issue 2718113003: Run dartfmt on pkg/front_end/lib. (Closed)
Patch Set: Rerun after merging. Created 3 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: pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart b/pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart
index 22445eedef0fd9467b4b6144c45ad2dfbf2c4a1f..56eee91ae0100fb0db8f5a3f44984d341fe25129 100644
--- a/pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart
@@ -4,38 +4,31 @@
library fasta.dill_library_builder;
-import 'package:kernel/ast.dart' show
- Class,
- ExpressionStatement,
- Field,
- FunctionNode,
- Let,
- Library,
- ListLiteral,
- Member,
- Procedure,
- StaticGet;
-
-import '../errors.dart' show
- internalError;
-
-import '../kernel/kernel_builder.dart' show
- Builder,
- KernelInvalidTypeBuilder,
- KernelTypeBuilder,
- LibraryBuilder;
-
-import '../kernel/redirecting_factory_body.dart' show
- RedirectingFactoryBody;
-
-import 'dill_class_builder.dart' show
- DillClassBuilder;
-
-import 'dill_member_builder.dart' show
- DillMemberBuilder;
-
-import 'dill_loader.dart' show
- DillLoader;
+import 'package:kernel/ast.dart'
+ show
+ Class,
+ ExpressionStatement,
+ Field,
+ FunctionNode,
+ Let,
+ Library,
+ ListLiteral,
+ Member,
+ Procedure,
+ StaticGet;
+
+import '../errors.dart' show internalError;
+
+import '../kernel/kernel_builder.dart'
+ show Builder, KernelInvalidTypeBuilder, KernelTypeBuilder, LibraryBuilder;
+
+import '../kernel/redirecting_factory_body.dart' show RedirectingFactoryBody;
+
+import 'dill_class_builder.dart' show DillClassBuilder;
+
+import 'dill_member_builder.dart' show DillMemberBuilder;
+
+import 'dill_loader.dart' show DillLoader;
class DillLibraryBuilder extends LibraryBuilder<KernelTypeBuilder, Library> {
final Uri uri;
@@ -50,7 +43,8 @@ class DillLibraryBuilder extends LibraryBuilder<KernelTypeBuilder, Library> {
Library library;
DillLibraryBuilder(Uri uri, this.loader)
- : uri = uri, super(uri);
+ : uri = uri,
+ super(uri);
get scope => internalError("Scope not supported");
@@ -75,7 +69,7 @@ class DillLibraryBuilder extends LibraryBuilder<KernelTypeBuilder, Library> {
Let let = statement.expression;
StaticGet getTarget = let.variable.initializer;
function.body = new RedirectingFactoryBody(getTarget.target)
- ..parent = function;
+ ..parent = function;
}
initializer.expressions.clear();
} else {
« no previous file with comments | « pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart ('k') | pkg/front_end/lib/src/fasta/dill/dill_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698