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 ffa2682 commit 8fdd8d6Copy full SHA for 8fdd8d6
tests/neg-custom-args/fatal-warnings/i15503f.scala
@@ -8,7 +8,7 @@ object Xd {
8
private def f2(a: Int) = 1 // OK
9
private def f3(a: Int)(using Int) = a // OK
10
private def f4(a: Int)(using Int) = default_int // OK
11
- private def f6(a: Int)(using Int) = summon[Int] // error
+ private def f6(a: Int)(using Int) = summon[Int] // OK
12
private def f7(a: Int)(using Int) = summon[Int] + a // OK
13
private def f8(a: Int)(using foo: Int) = a // error
14
}
0 commit comments