Closed yuxincs closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.44%. Comparing base (
3062237
) to head (310e4b5
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
[!NOTE]
✅ NilAway errors reported on standard libraries are identical.3296 errors on base branch (main, 3062237) 3296 errors on test branch (1b6d0c4)
This PR simply removes the helper function
util.TypeOf
. Although it shortens the call frompass.TypesInfo.TypeOf
, it increases the cognitive load such that we do not know which we should use in NilAway's codebase and we don't know ifutil.TypeOf
has any special handling (it doesn't!). Moreover, we're using a mixture of these two functionally-identical expressions in our codebase.Removal of such a helper function reduces confusions and helps maintainability.