forked from lightbend/genjavadoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't fail for deprecated lazy vals, fixes lightbend#85.
This somewhat fixes lightbend#85 so that genjavadoc does at least not fail. However, like in the case for deprecated lazy vals with preexisting scaladoc, the preexisting comment might be lost under some Scala versions. The reason seems to be that starting from Scala 2.12 positions are reported in a way that puts the original position on the private `$lzycompute` method instead of on the accessor. To fix that additional considerations are necessary to somehow reconcile position information from the lzycompute with the actual accessor so that existing and generated scaladoc can be merged.
- Loading branch information
Showing
3 changed files
with
24 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
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