-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SI-8210 Scaladoc: Fix the false negative @inheritdoc warning on acces…
…sors This fix is just for the false negative warning. Probably we can skip setters entirely, but I'm not 100% sure.
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import scala.tools.nsc.doc.model._ | ||
import scala.tools.partest.ScaladocModelTest | ||
|
||
object Test extends ScaladocModelTest { | ||
override def code = """ | ||
object Foo { | ||
trait Config { | ||
/** The bar obviously. */ | ||
def bar: Int | ||
} | ||
class ConfigBuilder extends Config { | ||
/** @inheritdoc | ||
* | ||
* The default value is 1234. | ||
*/ | ||
var bar: Int = 1234 | ||
} | ||
} | ||
""" | ||
|
||
def scaladocSettings = "" | ||
|
||
def testModel(root: Package) = () | ||
} |