mbeckerle commented on a change in pull request #332: Refactor isHidden
URL: https://github.com/apache/incubator-daffodil/pull/332#discussion_r389899025
 
 

 ##########
 File path: 
daffodil-runtime1-unparser/src/main/scala/org/apache/daffodil/processors/unparsers/ChoiceAndOtherVariousUnparsers.scala
 ##########
 @@ -29,69 +29,62 @@ import org.apache.daffodil.util.MaybeInt
 class ChoiceCombinatorUnparser(
   mgrd: ModelGroupRuntimeData,
   eventUnparserMap: Map[ChoiceBranchEvent, Unparser],
-  choiceLengthInBits: MaybeInt)
+  choiceLengthInBits: MaybeInt,
+  optDefaultableBranchUnparser: Option[Unparser],
+  firstBranchUnparser: Unparser)
   extends CombinatorUnparser(mgrd)
   with ToBriefXMLImpl {
   override def nom = "Choice"
 
   override lazy val runtimeDependencies = Vector()
 
-  override lazy val childProcessors = eventUnparserMap.map { case (k, v) => v 
}.toSeq.toVector
+  override lazy val childProcessors = (eventUnparserMap.map { case (k, v) => v 
}.toSeq ++ optDefaultableBranchUnparser).toVector
 
 Review comment:
   line too long. Please break at the ++

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to