Skip to content

Scaladoc: silence undefined variable msgs #12230

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

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

abgruszecki
Copy link
Contributor

Those messages aren't very useful, and they pollute our logs.

They get emitted whenever in any part of the docstring, we see something like $var. Seeing as Scala snippets using quotes have a lot of text that looks like that, we get a lot of warnings.

Note that these will, right now, get expanded. Variable expansion happens before we parse comments, so without a refactor we cannot really do much better than to silence the warnings.

@abgruszecki abgruszecki merged commit 1e484e5 into scala:master Apr 27, 2021
@abgruszecki abgruszecki deleted the silence-dottydoc-variables branch April 27, 2021 09:30
@Kordyjan Kordyjan added this to the 3.0.1 milestone Aug 2, 2023
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.

4 participants