Skip to content
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

Fix "Lag" & "Lead" signatures with more honest nullable annotations #805

Merged
merged 2 commits into from
Mar 22, 2021

Conversation

atifaziz
Copy link
Member

This PR adds to #803. Where a TSource is defaulted for missing lead/lag value, the signature now clearly says TSource?.

Unfortunately, this requires a small projection hop (via Select) of an optuple.

MoreLinq/Lead.cs Show resolved Hide resolved
MoreLinq/Lag.cs Show resolved Hide resolved
@atifaziz atifaziz merged commit 54ccb69 into morelinq:master Mar 22, 2021
@atifaziz atifaziz deleted the fix/nrt/Lag+Lead branch March 22, 2021 21:50
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.

2 participants