Skip to content

Scaladoc shows shadowed overloaded signatures #22904

Open
@som-snytt

Description

@som-snytt

Compiler version

3.6

Problem

immutable.SortedSet has an overloaded map method, but only one alternative is API.

Image

It would be nice to filter out alternatives which are not selectable. (ss.map errors if the implicit search fails.)

Expectation

Only show the method I can invoke on the given class as receiver type.

Noticed at scala/scala#10218 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions