Skip to content

Fix model fields resolution when multiple heaps present#3923

Merged
unp1 merged 1 commit into
mainfrom
fixModelFieldResolutionInMultipleHeaps
Jul 22, 2026
Merged

Fix model fields resolution when multiple heaps present#3923
unp1 merged 1 commit into
mainfrom
fixModelFieldResolutionInMultipleHeaps

Conversation

@unp1

@unp1 unp1 commented Jul 14, 2026

Copy link
Copy Markdown
Member

Intended Change

Model fields without a represents or accessible clause could not be used in JavaRedux
as permissions could not build the term (wrong arity).

Found out when trying to specify addSuppressed in Throwable of PR #3918.

This PR should fix it.

Type of pull request

  • Bug fix (non-breaking change which fixes an issue)

Ensuring quality

  • I have tested the feature as follows: CI test suite, MErged on local branch with PR 3918 and activated model fields in Throwable

Additional information and contact(s)

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

@unp1
unp1 force-pushed the fixModelFieldResolutionInMultipleHeaps branch 4 times, most recently from cd4e9a4 to bae26a4 Compare July 14, 2026 07:26
@unp1 unp1 self-assigned this Jul 14, 2026
@unp1 unp1 added the 🐞 Bug label Jul 14, 2026
@unp1
unp1 force-pushed the fixModelFieldResolutionInMultipleHeaps branch 2 times, most recently from 6f3e430 to de20391 Compare July 14, 2026 07:46
Discovered when trying to specify Throwable using model fields.
Model fields (w/o represents or accessible clause) could not be used
as they were not resolvable.
@unp1
unp1 force-pushed the fixModelFieldResolutionInMultipleHeaps branch from de20391 to 0b0ea91 Compare July 22, 2026 22:01
@unp1
unp1 enabled auto-merge July 22, 2026 22:01
@unp1
unp1 added this pull request to the merge queue Jul 22, 2026
Merged via the queue into main with commit 52bbe2e Jul 22, 2026
39 checks passed
@unp1
unp1 deleted the fixModelFieldResolutionInMultipleHeaps branch July 22, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants