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

1.0.0-RC6: Highlighting issue in IDEA when summoning an MkRead instance #2103

Open
notxcain opened this issue Sep 19, 2024 · 2 comments
Open

Comments

@notxcain
Copy link

notxcain commented Sep 19, 2024

Hi!

IDEA thinks that LowerPriorityRead#generic and ReadPlatform#genericTuple have the same priority.

Maybe we should move ReadPlatform#genericTuple to MkReadPlatform?

Repro:

implicitly[MkRead[(Int, String)]]
image

Same issue with Read.derived.

@jatcwang
Copy link
Collaborator

Thanks for the report. Read and MkRead serves different purposes as the latter is mainly used for triggering automatic derivation.
Typically you shouldn't need to work with MkRead explicitly is there a particular reason why you want to summon MkRead? Are you getting compilation errors?

@notxcain
Copy link
Author

@jatcwang the main reason is that Read.derived gets reported as having ambiguous implicits, implicitly[MkRead[(Int, String)]] is just a reproducer.

@notxcain notxcain changed the title Highlighting issue in IDEA when summoning an MkRead instance 1.0.0-RC6: Highlighting issue in IDEA when summoning an MkRead instance Sep 19, 2024
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

No branches or pull requests

2 participants