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

Unified Diff: pkg/kernel/lib/transformations/method_call.dart

Issue 2820323005: Run formatter on a few frontend and kernel files that hadn't been formatted. (Closed)
Patch Set: Run formatter on a few frontend and kernel files that hadn't been formatted. Created 3 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
Index: pkg/kernel/lib/transformations/method_call.dart
diff --git a/pkg/kernel/lib/transformations/method_call.dart b/pkg/kernel/lib/transformations/method_call.dart
index 59581a93a1021b64806c94a7bc1831a361a6e759..7dabcbce168c45f0f1230dbc9a9a20565e434897 100644
--- a/pkg/kernel/lib/transformations/method_call.dart
+++ b/pkg/kernel/lib/transformations/method_call.dart
@@ -785,7 +785,8 @@ class MethodCallTransformer extends Transformer {
initializer: orgVar.initializer,
type: orgVar.type,
isFinal: orgVar.isFinal,
- isConst: orgVar.isConst)..parent = newStuffParent;
+ isConst: orgVar.isConst)
+ ..parent = newStuffParent;
variableDeclaration.initializer?.parent = variableDeclaration;
newParameterDeclarations.add(variableDeclaration);
orgVar.initializer = null;
@@ -799,7 +800,8 @@ class MethodCallTransformer extends Transformer {
initializer: orgVar.initializer,
type: orgVar.type,
isFinal: orgVar.isFinal,
- isConst: orgVar.isConst)..parent = newStuffParent;
+ isConst: orgVar.isConst)
+ ..parent = newStuffParent;
variableDeclaration.initializer?.parent = variableDeclaration;
newNamedParameterDeclarations.add(variableDeclaration);
orgVar.initializer = null;
« no previous file with comments | « pkg/kernel/lib/transformations/continuation.dart ('k') | pkg/kernel/lib/transformations/mixin_full_resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698