Simplify logic#7744
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 (2)
📝 WalkthroughWalkthroughThis pull request refactors annotation validation logic in two Checker Framework validator classes. BaseTypeValidator now caches a local TypeHierarchy instance and uses it consistently for subtype checks when validating captured type variables against wildcard extends and super bounds, replacing repeated fetches from atypeFactory. BaseTypeVisitor restructures the constructor invocation annotation comparability logic by introducing a local retType variable and reorganizing subtype check branches to separate error and warning cases more explicitly, while preserving all diagnostic behavior. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
@smillst I resolved the merge conflict. |
Merge after #7743