diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-06-03 13:18:17 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-06-03 13:18:17 +0200 |
commit | b24e7573a17332606d9f9da49a397e02abec1b63 (patch) | |
tree | e3f2aab9c978a8f222d3c4755f654a4520855f68 /test/files | |
parent | f0daf47f7d983ca7b429b7c386d270c41d2889f4 (diff) | |
parent | c98aa6f9b149550243b68274e24a6f3174b7f85b (diff) | |
download | scala-b24e7573a17332606d9f9da49a397e02abec1b63.tar.gz scala-b24e7573a17332606d9f9da49a397e02abec1b63.tar.bz2 scala-b24e7573a17332606d9f9da49a397e02abec1b63.zip |
Merge pull request #3803 from xeno-by/ticket/8637
SI-8637 fixes toolbox phase corruption
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t8637.check | 0 | ||||
-rw-r--r-- | test/files/run/t8637.scala | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t8637.check b/test/files/run/t8637.check new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/test/files/run/t8637.check diff --git a/test/files/run/t8637.scala b/test/files/run/t8637.scala new file mode 100644 index 0000000000..99c8d4c413 --- /dev/null +++ b/test/files/run/t8637.scala @@ -0,0 +1,9 @@ +import scala.reflect.runtime.universe._ +import scala.reflect.runtime.currentMirror +import scala.tools.reflect.ToolBox + +object Test extends App { + val tb = currentMirror.mkToolBox() + tb.compile(q"true > true") + tb.typecheck(q"true > true") +}
\ No newline at end of file |