bug icon indicating copy to clipboard operation
bug copied to clipboard

Scaladoc permits inheritDoc with different parameter names

Open som-snytt opened this issue 2 years ago • 0 comments

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.

som-snytt avatar Nov 02 '23 18:11 som-snytt