From 41ce53e3e643e85a022393e54c952ec4dee2cb57 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Tue, 31 Jan 2012 19:23:00 +0100 Subject: Tests for https://issues.scala-lang.org/browse/SI-5427 --- test/pending/run/t5427a.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/pending/run/t5427a.scala (limited to 'test/pending/run/t5427a.scala') diff --git a/test/pending/run/t5427a.scala b/test/pending/run/t5427a.scala new file mode 100644 index 0000000000..27b28da0ac --- /dev/null +++ b/test/pending/run/t5427a.scala @@ -0,0 +1,10 @@ +import scala.reflect.mirror._ + +object Foo { val bar = 2 } + +object Test extends App { + val tpe = getType(Foo) + val bar = tpe.nonPrivateMember(newTermName("bar")) + val value = getValue(Foo, bar) + println(value) +} \ No newline at end of file -- cgit v1.2.3