aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t6221/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t6221/Test_2.scala')
-rw-r--r--tests/pending/run/t6221/Test_2.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/pending/run/t6221/Test_2.scala b/tests/pending/run/t6221/Test_2.scala
deleted file mode 100644
index bc295d437..000000000
--- a/tests/pending/run/t6221/Test_2.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-object Test extends dotty.runtime.LegacyApp {
- implicit class PimpedList[T](val list: List[T]) {
- def query(predicate: ReflectiveClosure[T, Boolean]): List[T] = {
- println(predicate.tree)
- list filter predicate
- }
- }
-
- List(1, 2, 3).query(x => x % 2 == 0)
-} \ No newline at end of file