Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@msridhar
Copy link
Collaborator

Fixes #1195

We adjust our method overriding checks for a method reference to a @NullUnmarked method. Any overriding should be allowed, except in the presence of a restrictive annotation (@Nullable on the return or @NonNull on a parameter). Also add tests for @NonNull on the varargs parameter.

@codecov
Copy link

codecov bot commented Apr 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.23%. Comparing base (1f1b386) to head (228c119).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1205      +/-   ##
============================================
+ Coverage     88.21%   88.23%   +0.02%     
- Complexity     2317     2325       +8     
============================================
  Files            88       88              
  Lines          7578     7583       +5     
  Branches       1513     1516       +3     
============================================
+ Hits           6685     6691       +6     
  Misses          448      448              
+ Partials        445      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 4a0b555 into master Apr 30, 2025
12 checks passed
@msridhar msridhar deleted the issue-1195 branch April 30, 2025 02:19
dhruv-agr pushed a commit to dhruv-agr/NullAway that referenced this pull request May 9, 2025
Fixes uber#1195 

We adjust our method overriding checks for a method reference to a
`@NullUnmarked` method. Any overriding should be allowed, except in the
presence of a restrictive annotation (`@Nullable` on the return or
`@NonNull` on a parameter). Also add tests for `@NonNull` on the varargs
parameter.
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.

JSpecifyMode: Checking of :: reference to unmarked method is too strict

3 participants