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

Disable the byname-implicit lint on 2.13 #624

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

armanbilge
Copy link
Member

@armanbilge armanbilge commented Aug 12, 2023

Due to an interaction of a scalac bug with shapeless derivation.

Also it is currently blocking the fs2 migration (see armanbilge/fs2#4).

I haven't turned my brain on enough to appreciate the intrinsic value of this lint. Are we losing much by disabling it?

Edit: I guess the PR explains it in scala/scala#8590.

Edit 2: so the primary use of implicit conversions is for syntax. And some Cats ops do take the target as by-name. But applying syntax to a multi-line block? Too weird 😅 I don't think we're missing much.

@armanbilge armanbilge requested a review from satorg August 12, 2023 02:33
@mergify mergify bot added the settings label Aug 12, 2023
Copy link
Contributor

@satorg satorg left a comment

Choose a reason for hiding this comment

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

Yes, that is a very pesky bug. Iirc, it only exerts itself when some macros are involved. But seems impossible to suppress in code anyway. Thank you.

@armanbilge armanbilge merged commit 6c1ca23 into main Aug 12, 2023
@armanbilge armanbilge deleted the pr/disable-byname-implicit-lint branch August 12, 2023 02:58
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