summaryrefslogblamecommitdiff
path: root/test/files/neg/bug696.scala
blob: a06a32141a3625a8228b3d1bfa9fac1c0ea121ab (plain) (tree)
1
2
3
4
5
6





                                                                                             
object TypeUtil0 {
  trait Type[+T];
  implicit def WithType[S,T](implicit tpeS : Type[S], tpeT : Type[T]) : Type[S with T] = null
  as[Any](null);
  def as[T](x : Any)(implicit tpe : Type[T]) = null;
}