aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/t7486-named.scala
blob: 05c1c02782e45e1b8346048f965d919b5946db6e (plain) (tree)
1
2
3
4
5
6
7
8


                           
                                                                      



                           
object Test {
  def fold(empty: Any) = ()
  implicit val notAnnotatedImplicit: AnyRef{def empty[A]: Any} = new {
    fold(empty = 0)
    def empty[A]: Any = ???
  }
}