1.0.0-RC6: Highlighting issue in IDEA when summoning an `MkRead` instance
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)]]
Same issue with Read.derived.
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?
@jatcwang the main reason is that Read.derived gets reported as having ambiguous implicits, implicitly[MkRead[(Int, String)]] is just a reproducer.
Doesn't seem to be an issue anymore. (commit 0e2b9b6 on main)
This was most likely resolved as part of the rework of the derivation / resolution due to go out in RC7. Thanks for the report!