Skip to content

Test that inheritance does not affect signatures #164

@bishabosha

Description

@bishabosha

For example def foo(t: T): T in Foo where T refers to a class type parameter T <: Any that is concrete as e.g. String in a subclass Bar.

Use site:
(bar: Bar).foo("abc")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions