Shanedell commented on code in PR #875:
URL: https://github.com/apache/daffodil/pull/875#discussion_r1025269907


##########
daffodil-cli/src/main/scala/org/apache/daffodil/Main.scala:
##########
@@ -929,7 +930,7 @@ object Main {
 
             processor = processor.withValidationMode(validate)
 
-            setupDebugOrTrace(processor.asInstanceOf[DataProcessor], conf)
+            val debugProcessor = 
setupDebugOrTrace(processor.asInstanceOf[DataProcessor], conf)

Review Comment:
   So when I add them in I still need to do the `.asInstanceOf[DataProcessor]`, 
is there something I was missing because up until `withDebugOrTrace` I believe 
that processor is treated as a `DFDL.DataProcessor` right? So that would always 
be needed unless converting other methods to switch the type of `DataProcessor` 
being set right?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to