We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8e5656 commit fd49eb6Copy full SHA for fd49eb6
tests/neg-custom-args/fatal-warnings/i15503f.scala
@@ -5,8 +5,9 @@ val default_int = 1
5
6
def f1(a: Int) = a // OK
7
def f2(a: Int) = 1 // OK
8
-def f3(a: Int)(using Int) = a // error
9
-def f4(a: Int)(using Int) = default_int // error
+def f3(a: Int)(using Int) = a // OK
+def f4(a: Int)(using Int) = default_int // OK
10
def f6(a: Int)(using Int) = summon[Int] // OK
11
def f7(a: Int)(using Int) = summon[Int] + a // OK
12
+def f8(a: Int)(using foo: Int) = a // error
13
0 commit comments