diff options
Diffstat (limited to 'src/dotty/annotation/internal/Child.scala')
-rw-r--r-- | src/dotty/annotation/internal/Child.scala | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/dotty/annotation/internal/Child.scala b/src/dotty/annotation/internal/Child.scala deleted file mode 100644 index 9295de73e..000000000 --- a/src/dotty/annotation/internal/Child.scala +++ /dev/null @@ -1,16 +0,0 @@ -package dotty.annotation.internal - -import scala.annotation.Annotation - -/** An annotation to indicate a child class or object of the annotated class. - * E.g. if we have - * - * sealed class A - * case class B() extends A - * case class C() extends A - * - * 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 |