Skip to content

Scaladoc permits inheritDoc with different parameter names #12897

Closed as not planned
@som-snytt

Description

@som-snytt

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions