Handle unbound wildcards and interactions with captured types better - #1668
Handle unbound wildcards and interactions with captured types better#1668msridhar wants to merge 1 commit into
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## type-substitution-copies #1668 +/- ##
==============================================================
+ Coverage 87.72% 87.75% +0.02%
- Complexity 3145 3148 +3
==============================================================
Files 109 109
Lines 10691 10716 +25
Branches 2159 2161 +2
==============================================================
+ Hits 9379 9404 +25
- Misses 623 626 +3
+ Partials 689 686 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
c4b04e6 to
ed438c9
Compare
ed438c9 to
659a6b2
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
WalkthroughThe change updates Possibly related issues
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
We correctly restore annotations from library models onto unbounded wildcard types, and the corresponding captured type variables. Add tests involving library models and also regular annotated source code, including a test with recursive bounds on the variables.