diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-04-28 18:25:36 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-08-19 15:37:20 +0200 |
commit | b480bd1dd2c1ae39a13e8bb3ac3b3c56e0d08c68 (patch) | |
tree | 927bbaa7abf98c106ea5f4348e60cde0b3633a95 /dottydoc/shared | |
parent | 32b4a9c331d9a078aa50db554667ca908eb8a344 (diff) | |
download | dotty-b480bd1dd2c1ae39a13e8bb3ac3b3c56e0d08c68.tar.gz dotty-b480bd1dd2c1ae39a13e8bb3ac3b3c56e0d08c68.tar.bz2 dotty-b480bd1dd2c1ae39a13e8bb3ac3b3c56e0d08c68.zip |
Fix packages not ending up in `packages` map in Phases.scala
Diffstat (limited to 'dottydoc/shared')
-rw-r--r-- | dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/Entity.scala | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/Entity.scala b/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/Entity.scala index 5acdfee33..f95190578 100644 --- a/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/Entity.scala +++ b/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/Entity.scala @@ -6,7 +6,7 @@ import comment.Comment object Entities { import prickle._ - type PackageMember = Entity with Members with Modifiers + type EntityMember = Entity with Members sealed trait Entity { def name: String @@ -16,8 +16,6 @@ object Entities { def comment: Option[Comment] - def sourceUrl: String = "#" - def kind: String def parent: Option[Entity] @@ -47,8 +45,8 @@ object Entities { override val kind = "package" var parent: Option[Entity] = None - val children: List[PackageMember] = - members.collect { case x: PackageMember => x } + val children: List[EntityMember] = + members.collect { case x: EntityMember => x } } final case class Class( |