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

Unified Diff: pkg/kernel/lib/frontend/super_initializers.dart

Issue 2561723003: Merge kernel closure conversion into the Dart SDK (Closed)
Patch Set: Remove path constraint Created 4 years 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
« no previous file with comments | « pkg/kernel/lib/clone.dart ('k') | pkg/kernel/lib/kernel.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/frontend/super_initializers.dart
diff --git a/pkg/kernel/lib/frontend/super_initializers.dart b/pkg/kernel/lib/frontend/super_initializers.dart
index 4569274c2ba42482cd3b5b4d377861239da84965..ad8624daf6f02bc2e39f4aa3ed374bc21470f531 100644
--- a/pkg/kernel/lib/frontend/super_initializers.dart
+++ b/pkg/kernel/lib/frontend/super_initializers.dart
@@ -33,10 +33,10 @@ void moveSuperInitializerLast(Constructor node) {
// [LocalInitializer]s.
initializers.length += argumentCount;
initializers.setRange(
- superIndex + argumentCount, // desination start (inclusive)
- initializers.length - 1, // desination end (exclusive)
- initializers, // source list
- superIndex + 1); // source start index
+ superIndex + argumentCount, // desination start (inclusive)
+ initializers.length - 1, // desination end (exclusive)
+ initializers, // source list
+ superIndex + 1); // source start index
initializers[initializers.length - 1] = superCall;
// Fill in the [argumentCount] reserved slots with the evaluation expressions
« no previous file with comments | « pkg/kernel/lib/clone.dart ('k') | pkg/kernel/lib/kernel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698