Skip to content

Scaladoc incorrectly creates method signatures from extensions #14811

Closed
@rochala

Description

@rochala

Compiler version

3.1.2-RC2

Minimized example

Generated documentation for methods from extensions have signatures without parameters.

class A

extension (a: A) def fun(x: Int) = x + 1

Output

image

Expectation

Output should show proper signature for method fun. In this example it should be: def fun(x: Int): Int

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions