diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-01-31 19:23:00 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-02-01 09:36:02 +0100 |
commit | 41ce53e3e643e85a022393e54c952ec4dee2cb57 (patch) | |
tree | cbd425144f2126b4aeaeee9cb9597495ee2fa163 /test/pending/run/t5427d.scala | |
parent | 263aa2ead1f599f48b218027eb9550745fef43f1 (diff) | |
download | scala-41ce53e3e643e85a022393e54c952ec4dee2cb57.tar.gz scala-41ce53e3e643e85a022393e54c952ec4dee2cb57.tar.bz2 scala-41ce53e3e643e85a022393e54c952ec4dee2cb57.zip |
Tests for https://issues.scala-lang.org/browse/SI-5427
Diffstat (limited to 'test/pending/run/t5427d.scala')
-rw-r--r-- | test/pending/run/t5427d.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pending/run/t5427d.scala b/test/pending/run/t5427d.scala new file mode 100644 index 0000000000..fd4c62e876 --- /dev/null +++ b/test/pending/run/t5427d.scala @@ -0,0 +1,11 @@ +import scala.reflect.mirror._ + +class Foo(val bar: Int) + +object Test extends App { + val foo = new Foo(2) + val tpe = getType(foo) + val bar = tpe.nonPrivateMember(newTermName("bar")) + val value = getValue(foo, bar) + println(value) +}
\ No newline at end of file |