aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t7486-named.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t7486-named.scala')
-rw-r--r--tests/untried/pos/t7486-named.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t7486-named.scala b/tests/untried/pos/t7486-named.scala
index 253293e5f..05c1c0278 100644
--- a/tests/untried/pos/t7486-named.scala
+++ b/tests/untried/pos/t7486-named.scala
@@ -1,7 +1,7 @@
object Test {
def fold(empty: Any) = ()
- implicit val notAnnotatedImplicit = new {
+ implicit val notAnnotatedImplicit: AnyRef{def empty[A]: Any} = new {
fold(empty = 0)
def empty[A]: Any = ???
}