Skip to content

JSpecify: view type as super in generic method inference#1177

Merged
msridhar merged 2 commits intomasterfrom
issue-1176
Mar 27, 2025
Merged

JSpecify: view type as super in generic method inference#1177
msridhar merged 2 commits intomasterfrom
issue-1176

Conversation

@msridhar
Copy link
Copy Markdown
Collaborator

Fixes #1176

Without this change, type arguments may be mismatched.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 26, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 88.20%. Comparing base (2c8049c) to head (1e530f8).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
.../InferSubstitutionViaAssignmentContextVisitor.java 75.00% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1177      +/-   ##
============================================
- Coverage     88.22%   88.20%   -0.02%     
  Complexity     2311     2311              
============================================
  Files            88       88              
  Lines          7541     7546       +5     
  Branches       1510     1511       +1     
============================================
+ Hits           6653     6656       +3     
- Misses          445      446       +1     
- Partials        443      444       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@msridhar msridhar merged commit dd0fe71 into master Mar 27, 2025
9 of 12 checks passed
@msridhar msridhar deleted the issue-1176 branch March 27, 2025 15:01
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.

JSpecify: generic method type inference crash

2 participants