Skip to content

Duplicated extension receiver in scaladoc #16647

Closed
@prolativ

Description

@prolativ

Compiler version

3.3.0-RC1-bin-20230109-f56089b-NIGHTLY

Minimized code

package test

trait Ctx

object Ops:
  extension (i: Int)
    def foo() = i + 1
  extension (using Ctx)(i: Int)
    def bar() = i + 2
  extension (i: Int)(using Ctx)
    def baz() = i + 3

Output

Screenshot 2023-01-10 at 11 34 06

Expectation

The first (i: Int) in the signature of each extension should not be there

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions