diff options
Diffstat (limited to 'tests/pending/pos/t6047.scala')
-rw-r--r-- | tests/pending/pos/t6047.scala | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/pending/pos/t6047.scala b/tests/pending/pos/t6047.scala deleted file mode 100644 index e7d0c38c6..000000000 --- a/tests/pending/pos/t6047.scala +++ /dev/null @@ -1,20 +0,0 @@ -import scala.reflect.macros.blackbox.Context -import java.io.InputStream - -object Macros { - def unpack[A](input: InputStream): A = macro unpack_impl[A] - - def unpack_impl[A: c.WeakTypeTag](c: Context)(input: c.Expr[InputStream]): c.Expr[A] = { - import c.universe._ - - def unpackcode(tpe: c.Type): c.Expr[_] = { - if (tpe <:< implicitly[c.WeakTypeTag[Traversable[_]]].tpe) { - - } - ??? - } - - unpackcode(implicitly[c.WeakTypeTag[A]].tpe) - ??? - } - } |