Skip to content

Removed implicit modifiers on deprecated instance to avoid unavoidable warnings#4180

Merged
armanbilge merged 3 commits intotypelevel:series/3.xfrom
djspiewak:bug/resource-deprecations
Nov 24, 2024
Merged

Removed implicit modifiers on deprecated instance to avoid unavoidable warnings#4180
armanbilge merged 3 commits intotypelevel:series/3.xfrom
djspiewak:bug/resource-deprecations

Conversation

@djspiewak
Copy link
Copy Markdown
Member

This should fix HEAD builds.

Copy link
Copy Markdown
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

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

I'm not sure if this is the change we want to make. The reason we left it as an implicit is so that this instance is still available in contexts that don't have MonadCancelThrow available (instead of an implicit-not-found compilation error). If you receive the deprecation message, the correct fix is to bring MonadCancelThrow into scope.

armanbilge
armanbilge previously approved these changes Nov 24, 2024
Copy link
Copy Markdown
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

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

@lenguyenthanh tried a different fix in 3f79b9d (thanks!) but we couldn't get it to work. So I think this is the best option to fix things.

Co-authored-by: Arman Bilge <armanbilge@gmail.com>
@armanbilge armanbilge merged commit bf32273 into typelevel:series/3.x Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants