summaryrefslogtreecommitdiff
path: root/test/scaladoc/run/SI-8479.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8479 Fix constructor default args under scaladocJason Zaugg2014-04-071-0/+32
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