Skip to content

Conversation

@larsrh
Copy link
Contributor

@larsrh larsrh commented Dec 6, 2020

Extracted from #1323

Should unblock #1338

larsrh and others added 2 commits December 6, 2020 11:02
Co-authored-by: Avasil <pgawrys2@gmail.com>
* element in the buffer
*/
final def bufferTimedWithPressure(
final def bufferTimedWithPressure[AA >: A](
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why dotty requires AA >: A ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because A is in contravariant position here, and Scala 2 didn't recognize that.

@larsrh larsrh merged commit 7eba65a into monix:series/3.x Dec 6, 2020
@larsrh larsrh deleted the dotty-compat/implicits branch December 6, 2020 11:27
@larsrh larsrh mentioned this pull request Dec 6, 2020
6 tasks
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