diff options
Diffstat (limited to 'tests/pending/run/t5415.scala')
-rw-r--r-- | tests/pending/run/t5415.scala | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/pending/run/t5415.scala b/tests/pending/run/t5415.scala deleted file mode 100644 index cdc90b8ae..000000000 --- a/tests/pending/run/t5415.scala +++ /dev/null @@ -1,12 +0,0 @@ -object Test extends dotty.runtime.LegacyApp{ - case class Queryable2[T]() { def filter(predicate: T => Boolean) = ??? } - trait CoffeesTable{ def sales : Int } - val q = Queryable2[CoffeesTable]() - import scala.reflect.runtime.universe._ - import scala.reflect.runtime.{universe => ru} - val code = reify{q.filter(_.sales > 5)} - import scala.reflect.runtime.{currentMirror => cm} - import scala.tools.reflect.ToolBox - val toolbox = cm.mkToolBox() - val ttree = toolbox.typecheck(code.tree) -} |