DescriptionFix algorithm generics.
Using "T extends Comparable" in these generics doesn't work, because we
want users to be able to pass in non-Comparable arguments with custom
comparator functions. Now if no explicit comparator is used, we rely on
runtime checks to ensure that the objects implement Comparable.
R=rnystrom@google.com
Committed: https://github.com/dart-lang/collection/commit/f2c3ed7822ff17fa65dcc288b4de71ca185fbc4a
Patch Set 1 #
Total comments: 9
Patch Set 2 : Code review changes #
Messages
Total messages: 6 (1 generated)
|