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

Pull - fix Translate bug. #2614

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Conversation

diesalbla
Copy link
Contributor

Looking at the translate method, I noticed that, strangely enough, it was not using the view or continuation. This means that any stream after a Translate would be dropped. This was not detected because, in the StreamTranslateSuite, none of the unit/property tests was appending something after the translation. Along the way, we also add a leak test that uses translate, to cover that a little bit.

@diesalbla diesalbla requested a review from mpilquist September 17, 2021 19:03
@diesalbla diesalbla changed the title Pull - Translate - fix compilation bug. Pull - fix Translate bug. Sep 17, 2021
Looking at the translate method, I noticed that, strangely enough,
it was not using the `view` or continuation. This means that any
stream after a Translate would be dropped.

This was not detected because, in the StreamTranslateSuite, none
of the unit/property tests was appending something after the
translation. This would be embarrassing.

Along the way, we also add a leak test that uses translate.
@mpilquist mpilquist merged commit 935d1d9 into typelevel:main Sep 17, 2021
@mpilquist
Copy link
Member

Nice find!

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