blob: 327c4a98dc186d27ab65a28a80160031d82e2c9b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import scala.reflect.runtime.universe._
/* Tests implicit parameters in the presence of context bounds.
* See Section 7.4 of the Scala Language Specification.
*/
class C {
def f[T: TypeTag, S: TypeTag](x: T, y: S)(implicit p: C) { }
}
|