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

Unified Diff: lib/src/nesting.dart

Issue 834353002: camelCase constants. Down with ALL_CAPS! (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 11 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: lib/src/nesting.dart
diff --git a/lib/src/nesting.dart b/lib/src/nesting.dart
index 015cb988b83371aa9b1545493613cf20b01844ca..156f2e96637af1d0405599d98f3c92e539433058 100644
--- a/lib/src/nesting.dart
+++ b/lib/src/nesting.dart
@@ -147,11 +147,11 @@ class NestingStack {
for (var depth in depths) {
result = new NestingStack._(
- result, depth, result.indent + INDENTS_PER_NEST);
+ result, depth, result.indent + indentsPerNest);
}
return new NestingStack._(
- result, split.nesting, result.indent + INDENTS_PER_NEST);
+ result, split.nesting, result.indent + indentsPerNest);
}).toList();
}
« example/format.dart ('K') | « lib/src/line_writer.dart ('k') | lib/src/source_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698