olabusayoT commented on code in PR #1433:
URL: https://github.com/apache/daffodil/pull/1433#discussion_r1956785962


##########
daffodil-core/src/main/scala/org/apache/daffodil/core/runtime1/ChoiceTermRuntime1Mixin.scala:
##########
@@ -125,8 +125,8 @@ trait ChoiceTermRuntime1Mixin { self: ChoiceTermBase =>
       .groupBy {
         _._1
       }
-      .mapValues {
-        _.map(_._2)
+      .map { case (k, v) =>
+        k -> v.map(_._2)

Review Comment:
   I had to move the implicit to the mapValues def, but it works for both 2.12 
and 2.13 if I do .map ( k -> f(v)) under the hood



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to