Skip to content

Deprecated propagation of extension methods in docs #16473

Open
@nicolasstucki

Description

@nicolasstucki

Compiler version

3.2.1

Minimized code

Marking a single method in an extension clause as deprecated makes them all deprecated in the docs. In this example we have valueOrError that is deprecated, but the docs also say that show, matches, value and valueOrAbort are deprecated

https://github.com/lampepfl/dotty/blob/cfcdefa50c26c3f42893cc980ef92662aa9ac392/library/src/scala/quoted/Quotes.scala#L28-L70

Output

Screenshot 2022-12-06 at 17 11 49

Expectation

Should split the extension group into deprecated and non deprecated.

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