summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/model/Entity.scala
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-07-11 23:56:32 +0200
committerVlad Ureche <vlad.ureche@gmail.com>2012-07-16 23:41:44 +0200
commit0f2a0b7441153f3bdac49ca8878ffd9215458918 (patch)
tree7d8abd2e70c253c1d2d39fb811177e7859dbf31a /src/compiler/scala/tools/nsc/doc/model/Entity.scala
parentb651269275a4cfd72761586e088bff5a130949b5 (diff)
downloadscala-0f2a0b7441153f3bdac49ca8878ffd9215458918.tar.gz
scala-0f2a0b7441153f3bdac49ca8878ffd9215458918.tar.bz2
scala-0f2a0b7441153f3bdac49ca8878ffd9215458918.zip
Scaladoc: updated type class descriptions
The known type class descriptions give you a humanly-understandable explanation for [T: TypeClass] in the implicit conversions. For example [T: Integral] will tell you that T must be an integral type such as Integer and co. Now that the reflection dust settled, I can actually add the test to make sure the well-known type classes are intercepted and explanations are given instead of the usual "the type T is context-bounded by TypeClass"
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/model/Entity.scala')
-rw-r--r--src/compiler/scala/tools/nsc/doc/model/Entity.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/Entity.scala b/src/compiler/scala/tools/nsc/doc/model/Entity.scala
index 42db408fee..626c1500f1 100644
--- a/src/compiler/scala/tools/nsc/doc/model/Entity.scala
+++ b/src/compiler/scala/tools/nsc/doc/model/Entity.scala
@@ -520,6 +520,9 @@ trait ImplicitConversion {
/** The members inherited by this implicit conversion */
def members: List[MemberEntity]
+
+ /** Is this a common implicit conversion (aka conversion that affects all classes, in Predef?) */
+ def isCommonConversion: Boolean
}
/** Shadowing captures the information that the member is shadowed by some other members