commit | d6c89dedc9ccd078017ff7143ed23060248c594b | [log] [tgz] |
---|---|---|
author | lrn@google.com <lrn@google.com> | Tue Feb 19 07:52:24 2013 +0000 |
committer | lrn@google.com <lrn@google.com> | Tue Feb 19 07:52:24 2013 +0000 |
tree | 2e0ebe62617ad95fab8afb77a4e521e3087a7014 | |
parent | 1c8e09cc6753fc40b967b2ca8a9df497f4c67a51 [diff] |
Make Comparable generic. It's now allowed to write "class X implements Comparable<X>" to make X comparable only to X's. The argument type of Comparable<T>.compareTo is now T. Review URL: https://codereview.chromium.org//12255055 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/logging@18655 260f80e4-7a28-3924-810f-c04153c831b5