diff options
Diffstat (limited to 'src/library/scala/collection/immutable/List.scala')
-rw-r--r-- | src/library/scala/collection/immutable/List.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library/scala/collection/immutable/List.scala b/src/library/scala/collection/immutable/List.scala index abd8e31dc3..502fe6273a 100644 --- a/src/library/scala/collection/immutable/List.scala +++ b/src/library/scala/collection/immutable/List.scala @@ -429,6 +429,9 @@ sealed abstract class List[+A] extends LinearSequence[A] ms(this) } + // !!! The above sort could be replaced by: + // def sort(lt: (A, A) => Boolean): List[A] = super.sortWith(lt) + // except that it fails to find a ClassManifest. } /** The empty list. |