olabusayoT commented on code in PR #1431:
URL: https://github.com/apache/daffodil/pull/1431#discussion_r1953333841
##########
daffodil-tdml-lib/src/main/scala/org/apache/daffodil/tdml/TDMLRunner.scala:
##########
@@ -953,7 +954,7 @@ abstract class TestCase(testCaseXML: NodeSeq, val parent:
DFDLTestSuite) {
tunables
)
- val newCompileResult: TDML.CompileResult = compileResult.right.map {
+ val newCompileResult: TDML.CompileResult = compileResult.map {
Review Comment:
compileResult is still an Either[L,R], but `.right` is deprecated since it
is now the default representation. `.left` still works though
"Either is right-biased, which means that Right is assumed to be the default
case to operate on. "
https://www.scala-lang.org/api/2.13.16/scala/util/Either.html
--
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]