aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/t6591_7.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-15 18:19:06 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-15 18:19:06 +0200
commit75d5eee8c7f4d83dd64bca989027925e5ff081b6 (patch)
treef03fabc0434f1543bf0420a7602ee5b1ffdeb9ce /tests/disabled/macro/run/t6591_7.scala
parenta9863ab9b947180f04fd2302e86a4410dc27934b (diff)
downloaddotty-75d5eee8c7f4d83dd64bca989027925e5ff081b6.tar.gz
dotty-75d5eee8c7f4d83dd64bca989027925e5ff081b6.tar.bz2
dotty-75d5eee8c7f4d83dd64bca989027925e5ff081b6.zip
Move tests that have " macro" or "reify" to disabled.
Diffstat (limited to 'tests/disabled/macro/run/t6591_7.scala')
-rw-r--r--tests/disabled/macro/run/t6591_7.scala27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/t6591_7.scala b/tests/disabled/macro/run/t6591_7.scala
new file mode 100644
index 000000000..cec0d2cda
--- /dev/null
+++ b/tests/disabled/macro/run/t6591_7.scala
@@ -0,0 +1,27 @@
+import scala.reflect.runtime.universe._
+import scala.tools.reflect.Eval
+import internal._
+
+object Test extends dotty.runtime.LegacyApp {
+ locally {
+ val x = 2
+ def y = 3
+ var z = 4
+ class C {
+ var w = 5
+ locally {
+ val expr = reify(x + y + z + w)
+ // blocked by SI-7103, though it's not the focus of this test
+ // therefore I'm just commenting out the evaluation
+ // println(expr.eval)
+ freeTerms(expr.tree) foreach (ft => {
+ // blocked by SI-7104, though it's not the focus of this test
+ // therefore I'm just commenting out the call to info
+ // println(s"name = ${ft.name}, sig = ${ft.info}, stable = ${ft.isStable}")
+ println(s"name = ${ft.name}, stable = ${ft.isStable}")
+ })
+ }
+ }
+ new C()
+ }
+}