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

Unified Diff: pkg/front_end/lib/src/fasta/builder/scope.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/builder/scope.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/scope.dart b/pkg/front_end/lib/src/fasta/builder/scope.dart
index 10999a7f8abbc674a9f42f63f5c5ac375b956255..73560239088d53f87ef8df5b6923d2df30baff8b 100644
--- a/pkg/front_end/lib/src/fasta/builder/scope.dart
+++ b/pkg/front_end/lib/src/fasta/builder/scope.dart
@@ -4,12 +4,9 @@
library fasta.scope;
-import 'builder.dart' show
- Builder,
- MixedAccessor;
+import 'builder.dart' show Builder, MixedAccessor;
-import '../errors.dart' show
- internalError;
+import '../errors.dart' show internalError;
class Scope {
/// Names declared in this scope.
@@ -65,8 +62,8 @@ class Scope {
}
}
- Builder lookupAmbiguous(String name, Builder builder, bool setter,
- int charOffset, Uri fileUri) {
+ Builder lookupAmbiguous(
+ String name, Builder builder, bool setter, int charOffset, Uri fileUri) {
assert(builder.next != null);
if (builder is MixedAccessor) {
return setter ? builder.setter : builder.getter;
@@ -90,7 +87,7 @@ class Scope {
}
// TODO(ahe): Rename to extend or something.
- void operator[]= (String name, Builder member) {
+ void operator []=(String name, Builder member) {
if (isModifiable) {
local[name] = member;
} else {
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/procedure_builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/type_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698