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
1 file changed
tree: 2e0ebe62617ad95fab8afb77a4e521e3087a7014
  1. lib/
  2. test/
  3. pubspec.yaml