summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-10-06 13:53:26 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-10-06 13:53:26 +0000
commit77aae5843ab901340aa410e7c7dd20034238ef7e (patch)
treec12e1414ec9de0c500879fa5d2068d9a48ede295 /test/scaladoc/resources
parent0afd6d1b192900f2a0cda3a8fa3d8498ded91d5f (diff)
downloadscala-77aae5843ab901340aa410e7c7dd20034238ef7e.tar.gz
scala-77aae5843ab901340aa410e7c7dd20034238ef7e.tar.bz2
scala-77aae5843ab901340aa410e7c7dd20034238ef7e.zip
Add "Google tokens for Scala" for symbolic name...
Add "Google tokens for Scala" for symbolic names on Scaladoc. Review by ureche. We can't use Scala's symbolic names on Google. Instead of waiting Google, we'll introduce mapping from the names to equivalent searchable representations. This idea proposed by Grzegorz Kossakowski. https://groups.google.com/group/scala-internals/browse_thread/thread/413 dbc691542f76f
Diffstat (limited to 'test/scaladoc/resources')
-rw-r--r--test/scaladoc/resources/basic.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/scaladoc/resources/basic.scala b/test/scaladoc/resources/basic.scala
index 8645efd818..00db6669b4 100644
--- a/test/scaladoc/resources/basic.scala
+++ b/test/scaladoc/resources/basic.scala
@@ -8,6 +8,13 @@ package com.example.p1 {
class Clazz {
def foo = packageObjectMethod
implicit def intToClass1(n: Int) = new Clazz
+
+ @deprecated("This method is deprecated.")
+ def depracatedMethod = 0
+
+ // Google Token for Scala
+ def :: = 0
+ @deprecated("This method is deprecated.") def :::: = 0
}
class UpperBound[T <: Int]