Implement visitX_Primitive where visitX_Declared exists#7813
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 (1)
📝 WalkthroughWalkthroughThis change adds two new visitor override methods to the DefaultTypeHierarchy class: visitArray_Primitive and visitUnion_Primitive. The former handles subtype checks between an array type and a primitive supertype by delegating to isPrimarySubtype. The latter handles subtype checks between a union type and a primitive supertype by delegating to visitUnion_Type. No existing logic is modified. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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 |
In hopes of preventing more problems like #7806, this adds more overrides to
DefaultTypeHierarchy.java.