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

Add method inadvertently removed in #41 #43

Merged
merged 1 commit into from
Apr 17, 2020
Merged

Add method inadvertently removed in #41 #43

merged 1 commit into from
Apr 17, 2020

Conversation

ararslan
Copy link
Member

Since we have type piracy on types from Dates to allow them to act like TimeSpans, they could be used in contains until the signature was restricted to AbstractTimeSpans in #41 to mitigate breakage from contains being reintroduced to Base.

I tried briefly to remove the type piracy, but there's a lot of first/last usage that would be annoying to work around.

Since we have type piracy on types from Dates to allow them to act like
`TimeSpan`s, they could be used in `contains` until the signature was
restricted to `AbstractTimeSpan`s in #41 to mitigate breakage from
`contains` being reintroduced to Base.
@ararslan ararslan requested a review from jrevels April 17, 2020 21:40
@ararslan ararslan merged commit de8a022 into master Apr 17, 2020
@ararslan ararslan deleted the aa/timespan2 branch April 17, 2020 22:26
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