We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e637e9 commit c7d9689Copy full SHA for c7d9689
tests/neg/i19414.scala
@@ -9,7 +9,7 @@ class Printer
9
given Writer[JsValue] = ???
10
given Writer[JsObject] = ???
11
12
-given [B: Writer] => (printer: Printer = new Printer) => BodySerializer[B] = ???
+given [B: Writer](using printer: Printer = new Printer): BodySerializer[B] = ???
13
14
def f: Unit =
15
summon[BodySerializer[JsObject]] // error: Ambiguous given instances
0 commit comments