aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/idempotency-this.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/idempotency-this.scala')
-rw-r--r--tests/pending/run/idempotency-this.scala22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/pending/run/idempotency-this.scala b/tests/pending/run/idempotency-this.scala
deleted file mode 100644
index 2e2f7cf66..000000000
--- a/tests/pending/run/idempotency-this.scala
+++ /dev/null
@@ -1,22 +0,0 @@
-import scala.reflect.runtime.universe._
-import scala.reflect.runtime.{currentMirror => cm}
-import scala.tools.reflect.{ToolBox, ToolBoxError}
-import scala.tools.reflect.Eval
-
-object Test extends dotty.runtime.LegacyApp {
- val thiss = reify {
- List[String]("")
- }
- println(thiss.eval)
- val tb = cm.mkToolBox()
- val tthiss = tb.typecheck(thiss.tree)
- println(tthiss)
- println(showRaw(tthiss))
- val rtthiss = tb.untypecheck(tthiss)
- try {
- println(tb.eval(rtthiss))
- } catch {
- // this is the current behaviour, rather than the desired behavior; see SI-5705
- case _: ToolBoxError => println("error!")
- }
-}