Skip to content

Conversation

PanAeon
Copy link
Contributor

@PanAeon PanAeon commented Jun 24, 2019

…make links highlighted in the scaladoc, add @constructor keyword, remove dead code, add snap tests for comments.
fixes #31

…structor keyword, remove dead code, add snap tests for comments.
Copy link
Contributor

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this contribution! I'm not sure I understand the fix however, can you maybe explain what's going on?

@olafurpg
Copy link
Contributor

The CI is failing with a manual unit test
Screenshot 2019-06-25 at 09 17 26

@PanAeon
Copy link
Contributor Author

PanAeon commented Jun 25, 2019

Sorry, I didn't commit the modified snap file the first time.
As for the fix I just "recursively" reference the comments rule from inside of the block and scaladoc comments. When the blocks are balanced this works just fine, even across multiple lines. If nested blocks are not balanced everything breaks, but this is also a syntax error in scala.

@olafurpg
Copy link
Contributor

Aah, makes sense. Thanks for the explanation. Should we cut a new release with this fix?

@olafurpg olafurpg merged commit 07c397d into scala:master Jun 25, 2019
@PanAeon
Copy link
Contributor Author

PanAeon commented Jun 25, 2019

I'll push a fix for #30 shortly, it is really tiny.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nested block comments not supported

2 participants