From 624561d164c72adfb1a65a2bf55103fe84765915 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 20 May 2016 08:32:02 +0200 Subject: Further improve doc comment --- src/dotty/annotation/internal/Child.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dotty/annotation/internal/Child.scala b/src/dotty/annotation/internal/Child.scala index 4f3ceb6c0..9295de73e 100644 --- a/src/dotty/annotation/internal/Child.scala +++ b/src/dotty/annotation/internal/Child.scala @@ -9,7 +9,8 @@ import scala.annotation.Annotation * case class B() extends A * case class C() extends A * - * Then `A` would carry the annotations `@Child[B] @Child[C]` where - * `B`, `C` are TypeRefs. + * Then the class symbol `A` would carry the annotations + * `@Child[Bref] @Child[Cref]` where `Bref`, `Cref` are TypeRefs + * referring to the class symbols of `B` and `C` */ class Child[T] extends Annotation -- cgit v1.2.3