Skip to content

@Repeated can leak as method result type #6236

@abgruszecki

Description

@abgruszecki

We probably should drop the @Repeated annotation when inferring the result type of a method:

scala> def foo(s: String*) = s
def foo(s: String*): Seq[String] @Repeated

scala> def foo(s: String*) = { val s1 = s; s1 }
def foo(s: String*): Seq[String]

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