Skip to content

Support co- and contravariant sorts#3841

Merged
wadoon merged 4 commits into
mainfrom
variant-sorts
Jun 20, 2026
Merged

Support co- and contravariant sorts#3841
wadoon merged 4 commits 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.

@wadoon wadoon self-requested a review June 20, 2026 11:01
@wadoon wadoon added this pull request to the merge queue Jun 20, 2026
@wadoon wadoon added this to the v3.0.0 milestone Jun 20, 2026
Merged via the queue into main with commit 2eb640c Jun 20, 2026
36 checks passed
@wadoon wadoon deleted the variant-sorts branch June 20, 2026 11:48
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.

2 participants