Skip to content

Fix invalid summon of Factory#3

Open
WojciechMazur wants to merge 1 commit intoestrondo:mainfrom
WojciechMazur:fix/compilation-with-3.3.1-RC4
Open

Fix invalid summon of Factory#3
WojciechMazur wants to merge 1 commit intoestrondo:mainfrom
WojciechMazur:fix/compilation-with-3.3.1-RC4

Conversation

@WojciechMazur
Copy link

Hey, I've stumbled onto your project in Scala 3 Open Community Build. Scala 3.3.1-RC4 ships with a typer improvment which now detects incorrect summon usage in your code.
The summon[Factory[_, I[_]]] is an invalid usage of implicit resolution, instead you should use summon[Factory[Any, I[Any]]]

Reproduction and discussion: scala/scala3#18350
OpenCB build logs

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.

1 participant