Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer purity when using the Lock Checker #5343

Merged
merged 43 commits into from Sep 28, 2022

Conversation

mernst
Copy link
Member

@mernst mernst commented Sep 28, 2022

This ought to fix the nondeterministic problem in CI inference jobs.

smillst
smillst previously approved these changes Sep 28, 2022
Copy link
Member

@smillst smillst left a comment

Choose a reason for hiding this comment

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

I just had one minor comment, but otherwise this is fine to merge.

public boolean isSideEffectFree(ExecutableElement methodElement) {
List<? extends AnnotationMirror> annotationMirrors = methodElement.getAnnotationMirrors();

// Then look at the real annotations.
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand this comment.

@smillst smillst assigned mernst and unassigned smillst Sep 28, 2022
@smillst smillst enabled auto-merge (squash) September 28, 2022 16:46
@smillst smillst merged commit c6103fc into typetools:master Sep 28, 2022
@smillst smillst deleted the lock-infer-purity branch September 28, 2022 20:51
wmdietl pushed a commit to eisop/checker-framework that referenced this pull request Oct 10, 2022
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.

None yet

2 participants