summaryrefslogtreecommitdiff
path: root/test/scaladoc/run/SI-8479.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-04-07 10:41:31 +0200
committerJason Zaugg <jzaugg@gmail.com>2014-04-07 10:44:35 +0200
commitc4561c1d4945a38febc41436ed333569d0e9a063 (patch)
tree1ef5eb007b2c2f717b9aa9c371dcebcd926d3fbf /test/scaladoc/run/SI-8479.check
parent5720e97b95da57c9549698a9038efb79092394ad (diff)
downloadscala-c4561c1d4945a38febc41436ed333569d0e9a063.tar.gz
scala-c4561c1d4945a38febc41436ed333569d0e9a063.tar.bz2
scala-c4561c1d4945a38febc41436ed333569d0e9a063.zip
SI-8479 Fix constructor default args under scaladoc
The `DocDef` node hid the `DefDef` constructor from the scrutinee of the namer when determining if the class had constructor defaults or not. The current pattern for fixing these bugs is to delegate the check to `TreeInfo`, and account for the wrapper `DocDef` node. I've followed that pattern, but expressed my feelings about this approach in a TODO comment. Before this patch, the enclosed test failed with: error: not enough arguments for constructor SparkContext: (master: String, appName: String)SparkContext
Diffstat (limited to 'test/scaladoc/run/SI-8479.check')
-rw-r--r--test/scaladoc/run/SI-8479.check1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/scaladoc/run/SI-8479.check b/test/scaladoc/run/SI-8479.check
new file mode 100644
index 0000000000..619c56180b
--- /dev/null
+++ b/test/scaladoc/run/SI-8479.check
@@ -0,0 +1 @@
+Done.