mbeckerle commented on a change in pull request #12: Revised daffodil-io module 
to require passing in a FormatInfo object.
URL: https://github.com/apache/incubator-daffodil/pull/12#discussion_r157904689
 
 

 ##########
 File path: 
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/grammar/primitives/PrimitivesElementKinds.scala
 ##########
 @@ -73,7 +73,7 @@ case class DelimiterStackCombinatorSequence(sq: 
SequenceTermBase, body: Gram) ex
 
   lazy val parser: DaffodilParser = new DelimiterStackParser((pInit.toList ++ 
pSep.toList ++ pTerm.toList).toArray, sq.runtimeData, body.parser)
 
-  override lazy val unparser: DaffodilUnparser = new 
DelimiterStackUnparser(uInit, uSep, uTerm, sq.runtimeData, body.unparser)
+  override lazy val unparser: DaffodilUnparser = new 
DelimiterStackUnparser(uInit, uSep, uTerm, sq.termRuntimeData, body.unparser)
 
 Review comment:
   Passing the right type here avoids downcast in the constructor. Lots of 
lines had to change, but it's type safer.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to