Skip to content

Method matching against type parameters/boxed traits/classes is much less powerful than against impls #3274

@msullivan

Description

@msullivan

Once explicit self types work properly (see #3268), we want to be able to do all of the dirty tricks we do when matching against impls (matching by type assignability and autoref) when just resolving the method directly from the type. Right now, we only do these tricks when searching for a matching impl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-type-systemArea: Type systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions