More generic input type.
TBR=smok@google.com Review URL: https://chromiumcodereview.appspot.com//10837360 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11046 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
@@ -183,7 +183,7 @@ class ReferencedElementCollector extends AbstractVisitor {
|
||||
|
||||
compareBy(f) => (x, y) => f(x).compareTo(f(y));
|
||||
|
||||
List sorted(List l, comparison) {
|
||||
List sorted(Iterable l, comparison) {
|
||||
final result = new List.from(l);
|
||||
result.sort(comparison);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user