Skip to content

Check: Right operand of type parameter bounds #876

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

The grammar allows the right operand of type parameter bounds to be any type. Not all types should be allowed, however.

Desired solution

Restrict the right operand to any named type, i.e.

  • class types,
  • enum types,
  • enum variant types,
  • type parameter types.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

releasedIncluded in a releasevalidation ✔️Improved or new static checks

Type

No type

Projects

Status

✔️ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions