summaryrefslogtreecommitdiff
path: root/test/scaladoc/run/SI-7367.check
diff options
context:
space:
mode:
authorEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-04-15 13:07:04 +0400
committerEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-04-25 00:31:36 +0400
commit184cac8ebc23aaa912d760649f80484d3adbb2b2 (patch)
tree76a3912c2dd4f63c49c52a2732ae43ca795e5092 /test/scaladoc/run/SI-7367.check
parentfc65423d8d6a7548393d212e17c8563cf40bcfc0 (diff)
downloadscala-184cac8ebc23aaa912d760649f80484d3adbb2b2.tar.gz
scala-184cac8ebc23aaa912d760649f80484d3adbb2b2.tar.bz2
scala-184cac8ebc23aaa912d760649f80484d3adbb2b2.zip
SI-7367 scaladoc crash on constructing the model for annotations.
Scaladoc only checks primary constructor when building annotation model. Here we instead find the constructor matching the annotation's symbol. Also change TreeFactory.makeTree to return TreeEntity rather than Option[TreeEntity] and force the caller check for EmptyTree.
Diffstat (limited to 'test/scaladoc/run/SI-7367.check')
-rwxr-xr-xtest/scaladoc/run/SI-7367.check1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/scaladoc/run/SI-7367.check b/test/scaladoc/run/SI-7367.check
new file mode 100755
index 0000000000..3925a0d464
--- /dev/null
+++ b/test/scaladoc/run/SI-7367.check
@@ -0,0 +1 @@
+Done. \ No newline at end of file