summaryrefslogtreecommitdiff
path: root/test/files/run/t6181.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6181.scala')
-rw-r--r--test/files/run/t6181.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t6181.scala b/test/files/run/t6181.scala
index fb23eaff63..eaa7340178 100644
--- a/test/files/run/t6181.scala
+++ b/test/files/run/t6181.scala
@@ -3,6 +3,6 @@ import scala.reflect.runtime.{currentMirror => cm}
object Test extends App {
class C { def test(x: => Int) = println(x) }
- val mm = cm.reflect(new C).reflectMethod(typeOf[C].member(newTermName("test")).asMethod)
+ val mm = cm.reflect(new C).reflectMethod(typeOf[C].member(TermName("test")).asMethod)
mm(2)
} \ No newline at end of file