diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-01-14 23:55:25 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-05-28 08:23:44 +0200 |
commit | 70f001181734f76064d97ec25b1afd6aad49b684 (patch) | |
tree | cfd16d6df0388c26a0f05f6155a53f8c499d77a7 /test/files/run/macro-def-path-dependent-d1 | |
parent | e1d9805c91dbe74317e2f4f22ad59056d64d12b3 (diff) | |
download | scala-70f001181734f76064d97ec25b1afd6aad49b684.tar.gz scala-70f001181734f76064d97ec25b1afd6aad49b684.tar.bz2 scala-70f001181734f76064d97ec25b1afd6aad49b684.zip |
refactors macro tests
putting in a nutshell, this patch:
* condenses some macro-XXX-a/b/c/... bundles
* renames some tests to prepare for other macro flavors
* introduces some additional tests
Diffstat (limited to 'test/files/run/macro-def-path-dependent-d1')
-rw-r--r-- | test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala | 9 | ||||
-rw-r--r-- | test/files/run/macro-def-path-dependent-d1/Test_2.scala | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala b/test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala deleted file mode 100644 index 69d9708b2a..0000000000 --- a/test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala +++ /dev/null @@ -1,9 +0,0 @@ -import scala.reflect.runtime.universe._ -import scala.reflect.macros.Context -import scala.reflect.api.Universe - -object Test { - def materializeTypeTag[T](u: Universe)(e: T) = macro materializeTypeTag_impl[T] - - def materializeTypeTag_impl[T: c.WeakTypeTag](c: Context)(u: c.Expr[Universe])(e: c.Expr[T]): c.Expr[u.value.TypeTag[T]] = ??? -}
\ No newline at end of file diff --git a/test/files/run/macro-def-path-dependent-d1/Test_2.scala b/test/files/run/macro-def-path-dependent-d1/Test_2.scala deleted file mode 100644 index 7dffc5107d..0000000000 --- a/test/files/run/macro-def-path-dependent-d1/Test_2.scala +++ /dev/null @@ -1,3 +0,0 @@ -object Test extends App { - println("it works") -}
\ No newline at end of file |