commit | 0cc0087fa60894ed9b976cdb6bbc24974fc1b93b | [log] [tgz] |
---|---|---|
author | lrn@google.com <lrn@google.com> | Thu Jan 31 12:37:13 2013 +0000 |
committer | lrn@google.com <lrn@google.com> | Thu Jan 31 12:37:13 2013 +0000 |
tree | c17c3a4fdb24a2548be6d390ef25db99e50ff9b7 | |
parent | 66fd88c5ab1482806a245f41147a5712dc689bea [diff] |
Rename mappedBy to map. Retain a deprecated mappedBy for now. Change return type of mappedBy, skip and take on List to Iterable. BUG= http://dartbug.com/8063 BUG= http://dartbug.com/8064 BUG= http://dartbug.com/6739 BUG= http://dartbug.com/7982 Review URL: https://codereview.chromium.org//12086062 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/path@17899 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/path.dart b/lib/path.dart index 854d4da..3bd2332 100644 --- a/lib/path.dart +++ b/lib/path.dart
@@ -179,7 +179,7 @@ var message = new StringBuffer(); message.add("$method("); message.add(args.take(numArgs) - .mappedBy((arg) => arg == null ? "null" : '"$arg"') + .map((arg) => arg == null ? "null" : '"$arg"') .join(", ")); message.add("): part ${i - 1} was null, but part $i was not."); throw new ArgumentError(message.toString());