diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-07-07 14:36:27 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-07-07 14:36:27 -0700 |
commit | 7ca925e821ea04601d90313ce9aeec6863bf50f1 (patch) | |
tree | a2405229ff274e238f33e5b0d98be499d9b922ad /test/scaladoc/resources/doc-root/Null.scala | |
parent | 300cace2b9473ddbdab762d49f9d39f7347081ff (diff) | |
parent | c410b57d55ee10b565356b8595744a804fd2fa2f (diff) | |
download | scala-7ca925e821ea04601d90313ce9aeec6863bf50f1.tar.gz scala-7ca925e821ea04601d90313ce9aeec6863bf50f1.tar.bz2 scala-7ca925e821ea04601d90313ce9aeec6863bf50f1.zip |
Merge pull request #816 from VladUreche/feature/diagrams-dev-pullreq-new
Scaladoc diagrams (again)
Diffstat (limited to 'test/scaladoc/resources/doc-root/Null.scala')
-rw-r--r-- | test/scaladoc/resources/doc-root/Null.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/scaladoc/resources/doc-root/Null.scala b/test/scaladoc/resources/doc-root/Null.scala new file mode 100644 index 0000000000..7455e78ae7 --- /dev/null +++ b/test/scaladoc/resources/doc-root/Null.scala @@ -0,0 +1,17 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2002-2010, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + +package scala + +/** `Null` is - together with [[scala.Nothing]] - at the bottom of the Scala type hierarchy. + * + * `Null` is a subtype of all reference types; its only instance is the `null` reference. + * Since `Null` is not a subtype of value types, `null` is not a member of any such type. For instance, + * it is not possible to assign `null` to a variable of type [[scala.Int]]. + */ +sealed trait Null |