Skip to content

Conversation

@PaintNinja
Copy link
Member

This offers a guarantee to the Groovy compiler that Platform is known to be immutable and to treat it as such

Copy link
Member

@lukebemish lukebemish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Erm, not so sure on this -- @KnownImmutable is runtime retention, which means the compile-only dep there actually leaks to runtime. Does groovy have any other ways of marking this we could use? I'll poke it. You've mentioned making it a record before and that may in the end by the most sensible option, though we'll have to scour for identity equality uses and make them non-identity.

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