summaryrefslogblamecommitdiff
path: root/test/files/neg/bug696.check
blob: 2bc09820edb4f45d29923b98440396a7b8f75e1a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                   

                                                                    
                                                                                             
                
                                                                                                  
                
   
                
bug696.scala:3: error: implicit method WithType is not contractive,
 because the implicit parameter type TypeUtil0.Type[S]
 is not strictly contained in the signature TypeUtil0.Type[S with T]
  implicit def WithType[S,T](implicit tpeS : Type[S], tpeT : Type[T]) : Type[S with T] = null
               ^
bug696.scala:4: error: no implicit argument matching parameter type TypeUtil0.Type[Any] was found.
  as[Any](null);
  ^
two errors found