| 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 13aad6248562b233564c31adb0dabd00b05b121f..e83213794a700a22cd82c3f15ac85b6368e08a07 100644
|
| --- a/pkg/intl/lib/src/intl_message.dart
|
| +++ b/pkg/intl/lib/src/intl_message.dart
|
| @@ -57,10 +57,18 @@ abstract class Message {
|
|
|
| /**
|
| * We find the arguments from the top-level [MainMessage] and use those to
|
| - * do variable substitutions.
|
| + * do variable substitutions. [MainMessage] overrides this to return
|
| + * the actual arguments.
|
| */
|
| get arguments => parent == null ? const [] : parent.arguments;
|
|
|
| + /**
|
| + * We find the examples from the top-level [MainMessage] and use those
|
| + * when writing out variables. [MainMessage] overrides this to return
|
| + * the actual examples.
|
| + */
|
| + get examples => parent == null ? const [] : parent.examples;
|
| +
|
| String checkValidity(MethodInvocation node, List arguments,
|
| String outerName, FormalParameterList outerArgs) {
|
| var hasArgs = arguments.any(
|
|
|