diff options
author | Antoine Gourlay <antoine@gourlay.fr> | 2015-04-02 17:15:57 +0200 |
---|---|---|
committer | Antoine Gourlay <antoine@gourlay.fr> | 2015-04-02 20:15:03 +0200 |
commit | 293f7c007e1cfdfe67a61a02f8d9eee0bc4fcc87 (patch) | |
tree | ba5e54e5abc218950c54a0801f624aa143cb0fd8 /test/scaladoc/run/t5795.check | |
parent | 83ea1250882108c82e0e47adbebca28f907de4f4 (diff) | |
download | scala-293f7c007e1cfdfe67a61a02f8d9eee0bc4fcc87.tar.gz scala-293f7c007e1cfdfe67a61a02f8d9eee0bc4fcc87.tar.bz2 scala-293f7c007e1cfdfe67a61a02f8d9eee0bc4fcc87.zip |
SI-5795 empty scaladoc tags should be omitted from output
Empty scaladoc tags, like `@param`, `@return`, `@version`, etc. should
be omitted from the output when they have no meaning by themselves.
They are still parsed, for validation (warning that a tag doesn't
exist and so on), but are removed, if empty, when building the Comment.
The only ones that stay even when empty are `@deprecated`, so that the
class name can be striked-through ("Deprecated" also appears in the
header, even if there is no message with it), and `@throws`.
Diffstat (limited to 'test/scaladoc/run/t5795.check')
-rw-r--r-- | test/scaladoc/run/t5795.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/scaladoc/run/t5795.check b/test/scaladoc/run/t5795.check new file mode 100644 index 0000000000..d08ab619ed --- /dev/null +++ b/test/scaladoc/run/t5795.check @@ -0,0 +1,4 @@ +newSource:16: warning: Could not find any member to link for "Exception". + /** + ^ +Done. |