summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-03-28 21:53:12 +0000
committerPaul Phillips <paulp@improving.org>2011-03-28 21:53:12 +0000
commitc1efef726cb2d9b4b116d06290b15d42408f359f (patch)
tree6ac18c48f3bfdc97e62c8641a091b0d7475ab007
parentbd319586ed4110b972bad9220cd9142f290eb859 (diff)
downloadscala-c1efef726cb2d9b4b116d06290b15d42408f359f.tar.gz
scala-c1efef726cb2d9b4b116d06290b15d42408f359f.tar.bz2
scala-c1efef726cb2d9b4b116d06290b15d42408f359f.zip
Removed some bitrotted ant directives which wer...
Removed some bitrotted ant directives which were keeping us from getting Manifest docs. Thanks to dmharrah. Also removed RichUnit, fare thee well. Closes #4404, no review.
-rw-r--r--build.xml4
-rw-r--r--src/library/scala/runtime/RichUnit.scala22
2 files changed, 0 insertions, 26 deletions
diff --git a/build.xml b/build.xml
index 59fe0531a7..856857aba6 100644
--- a/build.xml
+++ b/build.xml
@@ -1418,16 +1418,12 @@ DOCUMENTATION
</src>
<include name="**/*.scala"/>
<exclude name="reflect/Code.scala"/>
- <exclude name="reflect/Manifest.scala"/>
<exclude name="reflect/Print.scala"/>
<exclude name="reflect/Symbol.scala"/>
<exclude name="reflect/Tree.scala"/>
<exclude name="reflect/Type.scala"/>
- <exclude name="reflect/TypedCode.scala"/>
- <exclude name="runtime/*Array.scala"/>
<exclude name="runtime/*$.scala"/>
<exclude name="runtime/ScalaRunTime.scala"/>
- <exclude name="runtime/StreamCons.scala"/>
<exclude name="runtime/StringAdd.scala"/>
<exclude name="scala/swing/test/**"/>
</scaladoc>
diff --git a/src/library/scala/runtime/RichUnit.scala b/src/library/scala/runtime/RichUnit.scala
deleted file mode 100644
index 522b139cb4..0000000000
--- 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 {}