Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first link error reported when building scaladoc #9803

Open
scabug opened this issue Jun 3, 2016 · 1 comment
Open

Only first link error reported when building scaladoc #9803

scabug opened this issue Jun 3, 2016 · 1 comment

Comments

@scabug
Copy link

scabug commented Jun 3, 2016

I have a package object with many bad links in it bad only the first is reported. I know this by cycling the order of the bad links in the source.

/** The package object `scala.math` contains methods for performing basic
  * numeric operations such as elementary exponential, logarithmic, root and
  * trigonometric functions.
  *
  * Test: [[scala.collection.TraversableOnce]] - it works
  *
  * Test: [[scala.collection.TraversableOnce gg]] - it works
  *
  * Test: [[scala.collection.TraversableOnce!.max]]
  *
  * Test: [[scala.collection.TraversableOnce!.max*]]
  *
  * Test: [[scala.collection.TraversableOnce.max*]]
  *
  * Test: [[scala.collection.TraversableOnce!.max aa]]
  *
  * Test: [[scala.collection.TraversableOnce!.max* bb]]
  *
  * Test: [[scala.collection.TraversableOnce.max* cc]]
  */

I redirect sbt doc > sbt.out

then search for link errors in math/package.scala but only see one. There should be six.

22:09 $ grep math/package sbt.out
[warn] /home/jdb/workspaces/public/scala/src/library/scala/math/package.scala:11: Could not find any member to link for "scala.collection.TraversableOnce!.max".

This will be masking other errors.

@scabug
Copy link
Author

scabug commented Jun 3, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9803?orig=1
Reporter: @janekdb
Affected Versions: 2.12.0-M4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant