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

Add more accurate line number Scaladoc error reporting #9703

Open
scabug opened this issue Mar 13, 2016 · 1 comment
Open

Add more accurate line number Scaladoc error reporting #9703

scabug opened this issue Mar 13, 2016 · 1 comment

Comments

@scabug
Copy link

scabug commented Mar 13, 2016

Scaladoc link syntax errors are being reported as occurring on line 182 but they occur on later lines.

!https://issues.scala-lang.org/secure/attachment/16904/Source-Scaladoc-error-reporting.png!

Source-Scaladoc-error-reporting.png

    20	 [scaladoc] /home/jdb/workspaces/public/scala/src/library/scala/io/Source.scala:182: warning: Could not find any member to link for "scala.io.Source@iter".
    21	 [scaladoc] /** An iterable representation of source data.
    22	 [scaladoc] ^
    23	 [scaladoc] /home/jdb/workspaces/public/scala/src/library/scala/io/Source.scala:182: warning: Could not find any member to link for "scala.io.Source@report".
    24	 [scaladoc] /** An iterable representation of source data.
    25	 [scaladoc] ^
    26	 [scaladoc] /home/jdb/workspaces/public/scala/src/library/scala/io/Source.scala:182: warning: Could not find any member to link for "scala.io.Source@ch".
    27	 [scaladoc] /** An iterable representation of source data.
    28	 [scaladoc] ^
    29	 [scaladoc] /home/jdb/workspaces/public/scala/src/library/scala/io/Source.scala:182: warning: Could not find any member to link for "scala.io.Source@pos".
    30	 [scaladoc] /** An iterable representation of source data.
    31	 [scaladoc] ^
    32	 [scaladoc] /home/jdb/workspaces/public/scala/src/library/scala/io/Source.scala:182: warning: Could not find any member to link for "scala.io.Source@next".
    33	 [scaladoc] /** An iterable representation of source data.
    34	 [scaladoc] ^
    35	 [scaladoc] /home/jdb/workspaces/public/scala/src/library/scala/io/Source.scala:182: warning: Could not find any member to link for "scala.io.Source$Positioner".
    36	 [scaladoc] /** An iterable representation of source data.
    37	 [scaladoc] ^
    38	 [scaladoc] /home/jdb/workspaces/public/scala/src/library/scala/io/Source.scala:182: warning: Could not find any member to link for "scala.io.Source@withPositioning(pos:Source.this.Positioner):Source.this.type".
    39	 [scaladoc] /** An iterable representation of source data.
    40	 [scaladoc] ^
@scabug
Copy link
Author

scabug commented Mar 13, 2016

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

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

2 participants