summaryrefslogblamecommitdiff
path: root/test/files/pos/nothing_manifest_disambig-old.scala
blob: 9a3db0c6d4921941706c164ec58399dfd2eeb5ee (plain) (tree)
1
2
3
4
5
6
7
8
9


                                   
 

                                               
 
                                                                                                                     
                  
 
object Test {
  def mani[T: Manifest](xs: T) = xs
  mani(List())

  def listElMani[T: Manifest](xs: List[T]) = xs
  listElMani(List())

  def foo[A, C](m : C)(implicit ev: C <:< Traversable[A], mani: Manifest[A]): (C, A, Manifest[A]) = (m, m.head, mani)
  foo(List(1,2,3))
}