diff --git a/tagged-meta/src/main/scala/pl/iterators/kebs/tag/meta/tagged.scala b/tagged-meta/src/main/scala/pl/iterators/kebs/tag/meta/tagged.scala index 7352fcbf..ae6763a3 100644 --- a/tagged-meta/src/main/scala/pl/iterators/kebs/tag/meta/tagged.scala +++ b/tagged-meta/src/main/scala/pl/iterators/kebs/tag/meta/tagged.scala @@ -96,7 +96,7 @@ final class macroImpl(val c: whitebox.Context) { else List.empty val body = if (hasValidations) - q"validate($argName).map(arg1 => $argName.taggedWith[${tagType.tagName}[..$tagParams]])" + q"validate($argName).map(_ => $argName.taggedWith[${tagType.tagName}[..$tagParams]])" else q"$argName.taggedWith[${tagType.tagName}[..$tagParams]]"