aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/typetags.scala
blob: 684ea1018658e10286a80e95d15828d5c196bdb3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                         
// TODO come up with a non-trivial universe different from ru
// an rewrite this test, so that it makes sure that cross-universe implicit searches work
//
// import scala.reflect.{basis => rb}
// import scala.reflect.runtime.{universe => ru}
// object Test {
//   def main(args: Array[String]) {
//     def foo(implicit t: rb.TypeTag[List[Int]]) {
//       println(t)
//       val t2: ru.TypeTag[_] = t in ru.rootMirror
//       println(t2)
//     }
//   }
// }

object Test extends App