Skip to content

Support co- and contravariant sorts#3841

Open
Drodt wants to merge 1 commit into
mainfrom
variant-sorts
Open

Support co- and contravariant sorts#3841
Drodt wants to merge 1 commit into
mainfrom
variant-sorts

Conversation

@Drodt

@Drodt Drodt commented Jun 17, 2026

Copy link
Copy Markdown
Member

Intended Change

Properly supports parametric sorts with co- and contravariant generic parameters with a custom extendsTrans implementation. Also throws an exception on variant parameters for functions, as it is unclear to me how to support that.

Type of pull request

  • New feature (non-breaking change which adds functionality)
  • There are changes to the (Java) code

Ensuring quality

  • I added new test case(s) for new functionality.

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant