diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-19 10:37:09 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-19 10:37:09 +0100 |
commit | 3973f29cec9f06724941b68577908f546341c45e (patch) | |
tree | f99466561254174a678818fd5bae566bd9742488 /test/files/run/reflection-constructormirror-nested-badpath.scala | |
parent | 3dbcb1b9d4daa5cba98747bbc66f898ba0f864fd (diff) | |
parent | 1714578eb8b4526de248c5a62e9aa175c5758b7c (diff) | |
download | scala-3973f29cec9f06724941b68577908f546341c45e.tar.gz scala-3973f29cec9f06724941b68577908f546341c45e.tar.bz2 scala-3973f29cec9f06724941b68577908f546341c45e.zip |
Merge pull request #3452 from xeno-by/topic/palladium0
SI-8063 and its seventy friends
Diffstat (limited to 'test/files/run/reflection-constructormirror-nested-badpath.scala')
-rw-r--r-- | test/files/run/reflection-constructormirror-nested-badpath.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/reflection-constructormirror-nested-badpath.scala b/test/files/run/reflection-constructormirror-nested-badpath.scala index 2983f185de..cf0de77e10 100644 --- a/test/files/run/reflection-constructormirror-nested-badpath.scala +++ b/test/files/run/reflection-constructormirror-nested-badpath.scala @@ -8,8 +8,8 @@ class Foo{ val classTag = implicitly[ClassTag[R]] val cl = classTag.runtimeClass.getClassLoader val cm = runtimeMirror(cl) - val constructor = expectedType.tpe.member( nme.CONSTRUCTOR ).asMethod - val sig = constructor.typeSignature + val constructor = expectedType.tpe.member( termNames.CONSTRUCTOR ).asMethod + val sig = constructor.info val sym = cm.classSymbol( classTag.runtimeClass ) try { val cls = cm.reflect( this ).reflectClass( sym ) |