summaryrefslogtreecommitdiff
path: root/test/files/presentation/doc/src/p/Base.scala
diff options
context:
space:
mode:
authorEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-02-19 21:29:30 +0400
committerEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-02-24 13:35:35 +0400
commit53c499bec28ccbc7695c79f56e40f98e7732aeb7 (patch)
treecfd6828ad7981ca86ec38404ec50a68e958fa587 /test/files/presentation/doc/src/p/Base.scala
parent5d6e02ee2eb1b454d88d3c3fb41d4715930caa9d (diff)
downloadscala-53c499bec28ccbc7695c79f56e40f98e7732aeb7.tar.gz
scala-53c499bec28ccbc7695c79f56e40f98e7732aeb7.tar.bz2
scala-53c499bec28ccbc7695c79f56e40f98e7732aeb7.zip
SI-7109 SI-7153 Generalize the API to get docComments: allow to force docTrees
for given fragments. Don't type-check when forcing doc comments, but rather do it directly. Test the new functionality as well as better tests for the old one.
Diffstat (limited to 'test/files/presentation/doc/src/p/Base.scala')
-rwxr-xr-xtest/files/presentation/doc/src/p/Base.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/presentation/doc/src/p/Base.scala b/test/files/presentation/doc/src/p/Base.scala
new file mode 100755
index 0000000000..9031de3e3e
--- /dev/null
+++ b/test/files/presentation/doc/src/p/Base.scala
@@ -0,0 +1,11 @@
+package p
+
+/**
+ * @define BaseComment $BaseVar comment.
+ */
+trait Base {
+ /**
+ * Base method has documentation.
+ */
+ def foo: String
+}