diff --git a/build.xml b/build.xml index d3b89a573..a20f6127e 100644 --- a/build.xml +++ b/build.xml @@ -1418,16 +1418,12 @@ DOCUMENTATION - - - - diff --git a/src/library/scala/runtime/RichUnit.scala b/src/library/scala/runtime/RichUnit.scala deleted file mode 100644 index 522b139cb..000000000 --- a/src/library/scala/runtime/RichUnit.scala +++ /dev/null @@ -1,22 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2011, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - - - -package scala.runtime - -/** This class exists only as a dummy subclass so that there are two ambiguous - * implicit conversions from Unit to some subclass to Object. - * It's important that this class should NOT inherit from Ordered. - * - * Note - in reality the ambiguity is successfully introduced by any2stringadd - * and orderingToOrdered, and adding an implicit from () => RichUnit actually - * resolves the ambiguity by being more specific, and succeeds! So this class - * is probably useless, and unitWrapper has been removed from Predef. - */ -final class RichUnit {}