We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05dd773 commit 5a46c7bCopy full SHA for 5a46c7b
tests/neg-custom-args/fatal-warnings/i15503-scala2/scala2-t11681.scala
@@ -100,9 +100,9 @@ trait Anonymous {
100
trait Context[A]
101
trait Implicits {
102
def f[A](implicit ctx: Context[A]) = answer // error
103
- def g[A: Context] = answer // error
+ def g[A: Context] = answer // OK
104
}
105
-class Bound[A: Context] // error
+class Bound[A: Context] // OK
106
object Answers {
107
def answer: Int = 42
108
0 commit comments