From 1b415c904bece230a706c0d19462345fc87abf67 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Tue, 13 Sep 2016 13:33:05 -0700 Subject: SI-8040 Heeding -Ywarn-unused Polish notation, as in shoe-shine, as recommended by the warning. Minor clean-ups as advocated by `Ywarn-unused` and `Xlint`. --- src/compiler/scala/reflect/reify/codegen/GenAnnotationInfos.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compiler/scala/reflect/reify/codegen/GenAnnotationInfos.scala') diff --git a/src/compiler/scala/reflect/reify/codegen/GenAnnotationInfos.scala b/src/compiler/scala/reflect/reify/codegen/GenAnnotationInfos.scala index ce26232e5f..2dded48251 100644 --- a/src/compiler/scala/reflect/reify/codegen/GenAnnotationInfos.scala +++ b/src/compiler/scala/reflect/reify/codegen/GenAnnotationInfos.scala @@ -10,7 +10,8 @@ trait GenAnnotationInfos { // however, when reifying free and tough types, we're forced to reify annotation infos as is // why is that bad? take a look inside def reifyAnnotationInfo(ann: AnnotationInfo): Tree = { - val reifiedArgs = ann.args map { arg => + //val reifiedArgs = ann.args map // SI-8915 + ann.args.foreach { arg => val saved1 = reifyTreeSymbols val saved2 = reifyTreeTypes -- cgit v1.2.3