stevedlawrence opened a new pull request #334: Add a special unparser for empty 
choice branches
URL: https://github.com/apache/incubator-daffodil/pull/334
 
 
   When unparsing a choice, it is possible that the default branch to
   unparsing could be completely empty (e.g. a sequence with a parse only
   assertion). In these cases, that empty branch optimizes to a
   NadaUnparser. Normally NadaUnparser's are optimized out or else they
   will throw an error at runtime. However, the choice combinator unparse
   still expects to have an Unparser to unparse, even if it does nothing.
   To support this, this creates an empty choice branch unparser that does
   nothing, but allows for the choice combinator to have something to
   unparse.
   
   DAFFODIL-2296

----------------------------------------------------------------
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