diff options
Diffstat (limited to 'tests/pending/run/t5704.scala')
-rw-r--r-- | tests/pending/run/t5704.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/pending/run/t5704.scala b/tests/pending/run/t5704.scala deleted file mode 100644 index b9765ebb6..000000000 --- a/tests/pending/run/t5704.scala +++ /dev/null @@ -1,19 +0,0 @@ -import scala.reflect.runtime.universe._ -import scala.reflect.runtime.{universe => ru} -import scala.reflect.runtime.{currentMirror => cm} -import scala.tools.reflect.ToolBox - -object Test extends dotty.runtime.LegacyApp { - class MyQuerycollection{ - def findUserByName( name:String ) = { - val tree = reify{ "test" == name }.tree - val toolbox = cm.mkToolBox() - toolbox.typecheck(tree) match{ - case Apply(Select(lhs,op),rhs::Nil) => - println(rhs.tpe) - } - } - } - val qc = new MyQuerycollection - qc.findUserByName("some value") -} |