8000 Fix `Flatten` signature parts to be null-oblivious by atifaziz · Pull Request #847 · morelinq/MoreLINQ · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Flatten signature parts to be null-oblivious #847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

atifaziz
Copy link
Member

This PR adds to #803. If fixes parts of Flatten to be null-oblivious. Since IEnumerator.Current is null-oblivious, the right call here seems to be to mark the object parameter of IEnumerable<> and Func<,> to be null-oblivious too (rather than object?).

@atifaziz atifaziz self-assigned this Oct 17, 2022
@codecov
Copy link
codecov bot commented Oct 17, 2022

Codecov Report

Merging #847 (e8cf0f1) into master (bed889d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #847   +/-   ##
=======================================
  Coverage   92.05%   92.05%           
=======================================
  Files         108      108           
  Lines        3472     3472           
  Branches     1032     1032           
=======================================
  Hits         3196     3196           
  Misses        213      213           
  Partials       63       63           
Impacted Files Coverage Δ
MoreLinq/Flatten.cs 97.50% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@atifaziz atifaziz merged commit 57e1d78 into morelinq:master Oct 17, 2022
@atifaziz atifaziz deleted the nrt/Flatten branch October 17, 2022 20:47
Sign up for free to join this conversation on G 598F itHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0