Skip to content

Preserve stable field refinements in lambdas#1828

Open
aosen-xiong wants to merge 1 commit into
eisop:masterfrom
aosen-xiong:eisop-771
Open

Preserve stable field refinements in lambdas#1828
aosen-xiong wants to merge 1 commit into
eisop:masterfrom
aosen-xiong:eisop-771

Conversation

@aosen-xiong

Copy link
Copy Markdown
Collaborator

Fixes #771.

Preserve field refinements in lambda initial stores when the fact remains valid after later execution.

This keeps refinements for final fields and monotonic fields, such as @MonotonicNonNull, while still widening refinements for ordinary mutable @Nullable fields.

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.

Nullness status of @MonotonicNonNull fields is forgotten when this is captured by a lambda

1 participant