diff options
author | Vlad Ureche <vlad.ureche@gmail.com> | 2012-10-11 03:04:23 +0200 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@gmail.com> | 2012-10-11 17:47:58 +0200 |
commit | 2280b8e3d5472be2df69bb0531486c25cf10edc4 (patch) | |
tree | 4d5aad56ac05b0aa61625d95a7eb78beca91b48a /test/scaladoc/resources | |
parent | e3a2d0bc4b1931aa311da0305d12ae7ec00d5e2d (diff) | |
download | scala-2280b8e3d5472be2df69bb0531486c25cf10edc4.tar.gz scala-2280b8e3d5472be2df69bb0531486c25cf10edc4.tar.bz2 scala-2280b8e3d5472be2df69bb0531486c25cf10edc4.zip |
SI-6155 Scaladoc @template diagrms
Diffstat (limited to 'test/scaladoc/resources')
-rw-r--r-- | test/scaladoc/resources/SI-6511.scala | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/scaladoc/resources/SI-6511.scala b/test/scaladoc/resources/SI-6511.scala new file mode 100644 index 0000000000..1f153caeb0 --- /dev/null +++ b/test/scaladoc/resources/SI-6511.scala @@ -0,0 +1,24 @@ +package test.scaladoc.template.diagrams + +/** @contentDiagram hideNodes "*Api" */ +trait X { + /** @template */ + type Symbol >: Null <: SymbolApi + + /** @template */ + type TypeSymbol >: Null <: Symbol with TypeSymbolApi + + /** @template */ + type TermSymbol >: Null <: Symbol with TermSymbolApi + + /** @template */ + type MethodSymbol >: Null <: TermSymbol with MethodSymbolApi + + trait SymbolApi { this: Symbol => def x: Int} + trait TermSymbolApi extends SymbolApi { this: TermSymbol => def y: Int} + trait TypeSymbolApi extends SymbolApi { this: TypeSymbol => def z: Int} + trait MethodSymbolApi extends TermSymbolApi { this: MethodSymbol => def t: Int } +} + +/** @contentDiagram hideNodes "*Api" */ +trait Y extends X |