Lock sideffect message#7782
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthrough
Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Updates the Lock Checker’s override side-effect diagnostics to report which side-effect annotations are involved when an overriding method is weaker than the overridden method.
Changes:
- Reworks
override.sideeffectmessage text to include both the overrider and overridden side-effect annotations. - Updates
LockVisitor.reportFailure/checkOverrideto pass the additional formatting arguments required by the new message.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| checker/src/main/java/org/checkerframework/checker/lock/messages.properties | Updates override.sideeffect message format and placeholders. |
| checker/src/main/java/org/checkerframework/checker/lock/LockVisitor.java | Passes side-effect annotation details into the override failure report. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.