summaryrefslogtreecommitdiff
path: root/test/files/run/t2636.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t2636.scala')
-rw-r--r--test/files/run/t2636.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/t2636.scala b/test/files/run/t2636.scala
index 3271f79ffc..6ae2248a26 100644
--- a/test/files/run/t2636.scala
+++ b/test/files/run/t2636.scala
@@ -1,3 +1,6 @@
+
+import scala.language.{ reflectiveCalls }
+
object Test
{
type Foo = { def update(x: Int, value: String): Unit }
@@ -32,4 +35,4 @@ object Test
assert(arrApply(arr, 1) == "o")
assert(arrApply(new { def apply(x: Int) = "tom" }, -100) == "tom")
}
-} \ No newline at end of file
+}