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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_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/kernel/kernel_formal_parameter_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart
index d891e8e120f33bfbd3bc60eec8e6a30cf4d60441..aa671e97042cdc98c8337537be8fb3e225ba1434 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart
@@ -4,29 +4,34 @@
library fasta.kernel_formal_parameter_builder;
-import 'package:kernel/ast.dart' show
- DynamicType,
- VariableDeclaration;
+import 'package:kernel/ast.dart' show DynamicType, VariableDeclaration;
-import 'kernel_builder.dart' show
- FormalParameterBuilder,
- KernelLibraryBuilder,
- KernelTypeBuilder,
- MetadataBuilder;
+import 'kernel_builder.dart'
+ show
+ FormalParameterBuilder,
+ KernelLibraryBuilder,
+ KernelTypeBuilder,
+ MetadataBuilder;
class KernelFormalParameterBuilder
extends FormalParameterBuilder<KernelTypeBuilder> {
VariableDeclaration declaration;
- KernelFormalParameterBuilder(List<MetadataBuilder> metadata,
- int modifiers, KernelTypeBuilder type, String name,
- bool hasThis, KernelLibraryBuilder compilationUnit, int charOffset)
- : super (metadata, modifiers, type, name, hasThis, compilationUnit,
- charOffset);
+ KernelFormalParameterBuilder(
+ List<MetadataBuilder> metadata,
+ int modifiers,
+ KernelTypeBuilder type,
+ String name,
+ bool hasThis,
+ KernelLibraryBuilder compilationUnit,
+ int charOffset)
+ : super(metadata, modifiers, type, name, hasThis, compilationUnit,
+ charOffset);
VariableDeclaration build() {
- return declaration ??= new VariableDeclaration(
- name, type: type?.build() ?? const DynamicType(), isFinal: isFinal,
+ return declaration ??= new VariableDeclaration(name,
+ type: type?.build() ?? const DynamicType(),
+ isFinal: isFinal,
isConst: isConst);
}

Powered by Google App Engine
This is Rietveld 408576698