diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-01 13:09:05 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-01 13:09:05 +0000 |
commit | 570bb834c388537cebf049c5b30901866a978646 (patch) | |
tree | 2c1ebf58a566d096ffaad4eba3ba630d7e5b007c | |
parent | 289869e273719681fad4321ddee6f301427db698 (diff) | |
download | scala-570bb834c388537cebf049c5b30901866a978646.tar.gz scala-570bb834c388537cebf049c5b30901866a978646.tar.bz2 scala-570bb834c388537cebf049c5b30901866a978646.zip |
Fixed #809 (except for the case of String/RichS...
Fixed #809 (except for the case of String/RichString, but there is not
much that can be done about changing the documentation for String).
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/ModelAdditions.scala | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/ModelAdditions.scala b/src/compiler/scala/tools/nsc/doc/ModelAdditions.scala index 012c7d14e9..a742ba9f7b 100644 --- a/src/compiler/scala/tools/nsc/doc/ModelAdditions.scala +++ b/src/compiler/scala/tools/nsc/doc/ModelAdditions.scala @@ -152,10 +152,13 @@ class ModelAdditions(val global: Global) { addition(sym) comments(sym) = """ <p> - Class <code>""" + sym.name + """ </code> belongs to the value + Class <code>""" + sym.name + """</code> belongs to the value classes whose instances are not represented as objects by the - underlying host system. All value classes inherit from class - <a href="AnyVal.html"><code>AnyVal</code></a>. + underlying host system. There is an implicit conversion from + instances of <code>""" + sym.name + """</code> to instances of + <a href="runtime/Rich""" + sym.name + """.html"><code>runtime.Rich""" + sym.name + """</code></a> which + provides useful non-primitive operations. All value classes inherit + from class <a href="AnyVal.html"><code>AnyVal</code></a>. </p> <p> Values <code>""" + maxValue + """</code> and <code>""" + minValue + """</code> |