Skip to content

Commit 5a46c7b

Browse files
committed
Adjust assertions in test
1 parent 05dd773 commit 5a46c7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/neg-custom-args/fatal-warnings/i15503-scala2/scala2-t11681.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ trait Anonymous {
100100
trait Context[A]
101101
trait Implicits {
102102
def f[A](implicit ctx: Context[A]) = answer // error
103-
def g[A: Context] = answer // error
103+
def g[A: Context] = answer // OK
104104
}
105-
class Bound[A: Context] // error
105+
class Bound[A: Context] // OK
106106
object Answers {
107107
def answer: Int = 42
108108
}

0 commit comments

Comments
 (0)