diff options
Diffstat (limited to 'test/files/run/reflection-tags.scala')
-rw-r--r-- | test/files/run/reflection-tags.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/reflection-tags.scala b/test/files/run/reflection-tags.scala index 39bb8cf4e5..21ff2c0efb 100644 --- a/test/files/run/reflection-tags.scala +++ b/test/files/run/reflection-tags.scala @@ -9,10 +9,10 @@ object Test extends App { typeMembers = typeMembers.filter(_.name != TypeName("Compat")) // internal val tags = typeOf[scala.reflect.api.Universe].members.filter(sym => sym.isImplicit).toList - typeMembers.foreach(_.typeSignature) - tags.foreach(_.typeSignature) + typeMembers.foreach(_.info) + tags.foreach(_.info) - val outliers = typeMembers.filter(tm => !tags.exists(tag => tag.typeSignature match { + val outliers = typeMembers.filter(tm => !tags.exists(tag => tag.info match { case NullaryMethodType(TypeRef(_, sym, targ :: Nil)) => sym == typeOf[ClassTag[_]].typeSymbol && targ.typeSymbol == tm case _ => false })) |