Skip to content

Remove the need for repeating the type bound #1268

@rodinaarssen

Description

@rodinaarssen

In, e.g., &T <: node foo(&T <: node t) = t, it is currently required to repeat the bound <: node in the return type, while the bound is fixed at the formal parameter. It would be great if we could remove the mandatory repetition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions