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

Unified Diff: pkg/intl/test/message_extraction/part_of_sample_with_messages.dart

Issue 181383009: Relax string literal requirements on arguments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/intl/lib/src/intl_message.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/message_extraction/part_of_sample_with_messages.dart
diff --git a/pkg/intl/test/message_extraction/part_of_sample_with_messages.dart b/pkg/intl/test/message_extraction/part_of_sample_with_messages.dart
index b3728fd58c65ee23c2bb85ec76097f51a1c16bd2..7eced8884f078634a1397d66e1e8b15d2484f970 100644
--- a/pkg/intl/test/message_extraction/part_of_sample_with_messages.dart
+++ b/pkg/intl/test/message_extraction/part_of_sample_with_messages.dart
@@ -17,7 +17,10 @@ class YouveGotMessages {
name: 'staticMessage');
// An instance method, rather than a standalone function.
- method() => Intl.message("This comes from a method", name: 'method');
+ method() => Intl.message("This comes from a method", name: 'method',
+ desc: 'This is a method with a '
+ 'long description which spans '
+ 'multiple lines.');
// A non-lambda, i.e. not using => syntax, and with an additional statement
// before the Intl.message call.
« no previous file with comments | « pkg/intl/lib/src/intl_message.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698