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 permits inheritDoc with different parameter names #12897

Open
som-snytt opened this issue Nov 2, 2023 · 0 comments
Open

Scaladoc permits inheritDoc with different parameter names #12897

som-snytt opened this issue Nov 2, 2023 · 0 comments
Milestone

Comments

@som-snytt
Copy link

Reproduction steps

Scala version: 2.13.12

getOrElseUpdate is missing defaultValue parameter

compare MapOps

The specific doc problem will be fixed by amending the aberrant signature in MapOps.

Problem

Scaladoc should either complain when inheritDoc but the parameter names do not align, or just fix the doc automagically.

Scala itself doesn't care about parameter names in overrides.

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