Closed scabug closed 13 years ago
Imported From: https://issues.scala-lang.org/browse/SI-4083?orig=1 Reporter: Dave Copeland (davetron5000) Attachments:
@paulp said: Neat, look how old it is. r220. (And earlier, but I don't have cvs records.)
commit 6f77053af4a97c51a2582b65f1a8ad67fd630eee
Author: odersky <odersky@5e8d7ff9-d8ef-0310-90f0-a4852d11357a>
Date: Fri Feb 14 13:36:31 2003 +0000e
Initial version.
Here's the r220 version. I don't know if variance annotations existed yet.
package scala with {
case class Cell[T](elem: T)
}
None of this of course is relevant to anything.
@hubertp said: Fixed in 23921 (wrote wrong bug number in the comment).
= problem =
scala.Cell
is an odd class that doesn't seem to be used anywhere.= analysis =
I can't find a single reference to this class anywhere. Further, it seems like a pretty useless class;
scala.Option
is better suited to holding something withscala.Some
providing a superset of this class' functionality.= enhancement recommendation =
Deprecate it and refer users to
scala.Option
andscala.Some