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

Unified Diff: pkg/intl/lib/src/intl_message.dart

Issue 23140003: Rename CompositeMessage's named parent constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/src/intl_message.dart
diff --git a/pkg/intl/lib/src/intl_message.dart b/pkg/intl/lib/src/intl_message.dart
index 5dfb9c882a57f2a43b3ee9b38a0ac584daa709f5..51a0ee58f78874490da46f55b7347e72f65247b2 100644
--- a/pkg/intl/lib/src/intl_message.dart
+++ b/pkg/intl/lib/src/intl_message.dart
@@ -213,7 +213,7 @@ abstract class ComplexMessage extends Message {
class CompositeMessage extends Message {
List<Message> pieces;
- CompositeMessage.parent(parent) : super(parent);
+ CompositeMessage.withParent(parent) : super(parent);
CompositeMessage(this.pieces, ComplexMessage parent) : super(parent) {
pieces.forEach((x) => x.parent = this);
}
@@ -641,4 +641,4 @@ class Select extends SubMessage {
out.write("})}");
return out.toString();
}
-}
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698