Skip to content

Fix compact constructor in Records#3905

Open
wadoon wants to merge 1 commit into
mainfrom
weigl/recordcc
Open

Fix compact constructor in Records#3905
wadoon wants to merge 1 commit into
mainfrom
weigl/recordcc

Conversation

@wadoon

@wadoon wadoon commented Jul 10, 2026

Copy link
Copy Markdown
Member

Related Issue

Records with compact constructors were not loadable. The removal of the AST nodes were missing.

The remaining issue is a definition/specification problem of the half-user-coded/half-synthetic constructor.

Currently, it remains unclear where to specify the behavior. Issue at JmlRef was opened.

Intended Change

Make compact constructors work as far as possible.

Plan

  • Fix it
  • Add a new example
  • Resolve Java compiler error from existing example.

Type of pull request

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

Ensuring quality

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

@wadoon wadoon changed the title fix compact constructor in Records Fix compact constructor in Records Jul 10, 2026
@wadoon wadoon added this to the v3.0.0 milestone Jul 10, 2026
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