Skip to content

Compute type of accessed inherited members that involve type parameters #863

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

The solution in #862 only works for own members, not inherited ones.

Desired solution

  1. Use streamSupertypes to get the class that contains the accessed member.
  2. Apply the current solution using this class type.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

  • Maybe also update streamSupertypes to also return the initial class type. There are now two situations (this, and isAssignableTo) where this would be more useful.

Metadata

Metadata

Assignees

Labels

releasedIncluded in a release

Type

No type

Projects

Status

✔️ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions