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

Scaladoc issue (regresssion in 2.8.1 to 2.8.0: "UnsupportedOperationException: Position.point" #4284

Closed
scabug opened this issue Feb 23, 2011 · 3 comments
Milestone

Comments

@scabug
Copy link

scabug commented Feb 23, 2011

=== What is the expected behavior? ===
Scaladoc should run successfully and generate Scaladocs

=== What do you see instead? ===
On Scala 2.8.1 in certain instances the Scaladoc process will throw a UnsupportedOperationException: Position.point, while only generating a small subset of the scaladocs.
Full output in verbose mode is available here: https://gist.github.com/839747

This bug has been confirmed by testing against Scala 2.8.0 as well:
In Scala 2.8.0, the Scaladocs are generated fine without any problems, whereas in Scala 2.8.1 the described issue arises.

All the affected code is otherwise valid, compiles fine, passes tests and Scaladoc comments for all intents and purposes look valid.

=== What versions of the following are you using? ===

  • Scala: 2.8.1
  • Java: 1.6.22
  • Operating system: Mac OS X
@scabug
Copy link
Author

scabug commented Feb 23, 2011

Imported From: https://issues.scala-lang.org/browse/SI-4284?orig=1
Reporter: Wille Faler (wfaler)

@scabug
Copy link
Author

scabug commented Feb 23, 2011

@dubochet said:
(In r24334) [scaladoc] Changed TreeFactory so that it doesn't consume exceptions. Required fixes to makeAnnotation and makeTree which were throwing exceptions as a matter of fact. Also code refactoring around annotations and trees. Closes #4284. No review.

@scabug
Copy link
Author

scabug commented Mar 14, 2011

Michael Pilquist (mpilquist) said:
I read the diffs for this issue but it isn't clear to me what type of code causes the problem. Any hints on what I can look for?

@scabug scabug closed this as completed May 18, 2011
@scabug scabug added this to the 2.9.0 milestone Apr 7, 2017
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