aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t4975.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t4975.scala')
-rw-r--r--tests/untried/pos/t4975.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t4975.scala b/tests/untried/pos/t4975.scala
index 97ed9369e..3339631dc 100644
--- a/tests/untried/pos/t4975.scala
+++ b/tests/untried/pos/t4975.scala
@@ -4,7 +4,7 @@ object ImplicitScope {
def foo: Unit = {
trait B
object B {
- implicit def ab = new A[B]
+ implicit def ab: ImplicitScope.A[B] = new A[B]
}
implicitly[A[B]] // Error