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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/redirecting_factory_body.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/kernel/redirecting_factory_body.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/redirecting_factory_body.dart b/pkg/front_end/lib/src/fasta/kernel/redirecting_factory_body.dart
index f0f5cf2f0a7dfdbe0385ab49591d276d464dc13a..ee0c60543366bc7f36bd9e31e03b5b68c68dffbb 100644
--- a/pkg/front_end/lib/src/fasta/kernel/redirecting_factory_body.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/redirecting_factory_body.dart
@@ -4,20 +4,20 @@
library fasta.redirecting_factory_body;
-import 'package:kernel/ast.dart' show
- ExpressionStatement,
- InvalidExpression,
- Let,
- Member,
- Procedure,
- StaticGet,
- VariableDeclaration;
+import 'package:kernel/ast.dart'
+ show
+ ExpressionStatement,
+ InvalidExpression,
+ Let,
+ Member,
+ Procedure,
+ StaticGet,
+ VariableDeclaration;
class RedirectingFactoryBody extends ExpressionStatement {
RedirectingFactoryBody(Member target)
- : super(new Let(
- new VariableDeclaration.forValue(new StaticGet(target)),
- new InvalidExpression()));
+ : super(new Let(new VariableDeclaration.forValue(new StaticGet(target)),
+ new InvalidExpression()));
Member get target {
Let let = expression;
@@ -27,8 +27,7 @@ class RedirectingFactoryBody extends ExpressionStatement {
}
bool isRedirectingFactory(Member member) {
- return member is Procedure &&
- member.function.body is RedirectingFactoryBody;
+ return member is Procedure && member.function.body is RedirectingFactoryBody;
}
Member getImmediateRedirectionTarget(Member member) {
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_variable_builder.dart ('k') | pkg/front_end/lib/src/fasta/kernel/verifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698