aboutsummaryrefslogtreecommitdiff
path: root/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-04-27 17:28:45 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-08-19 15:37:20 +0200
commit32b4a9c331d9a078aa50db554667ca908eb8a344 (patch)
treea2a25f7756ae430861b9ae37d1feca55efd2507c /dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala
parent46ac1bfe42d408dffd74a89bd2d9e3d13b68ee12 (diff)
downloaddotty-32b4a9c331d9a078aa50db554667ca908eb8a344.tar.gz
dotty-32b4a9c331d9a078aa50db554667ca908eb8a344.tar.bz2
dotty-32b4a9c331d9a078aa50db554667ca908eb8a344.zip
Add initial return values to members - to be updated
This commit adds return values to defs and vals - but does not provide a link to these. This is to be continued
Diffstat (limited to 'dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala')
-rw-r--r--dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala b/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala
index 09510a1f8..9de1cf6ad 100644
--- a/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala
+++ b/dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/EntityFactories.scala
@@ -34,4 +34,8 @@ object EntityFactories {
pathList(ref)
}
+
+ // TODO: should be updated to link to local entities
+ def returnType(t: Tree)(implicit ctx: Context): String =
+ t.show
}