olabusayoT commented on code in PR #1455:
URL: https://github.com/apache/daffodil/pull/1455#discussion_r1996075974
##########
daffodil-core/src/main/scala/org/apache/daffodil/core/dpath/Expression.scala:
##########
@@ -2931,9 +2931,11 @@ case class DFDLTestBitExpr(nameAsParsed: String,
fnQName: RefQName, args: List[E
override lazy val inherentType = NodeInfo.Boolean
override def targetTypeForSubexpression(subexpr: Expression): NodeInfo.Kind
= {
+ val dataValue = data
+ val bitPosValue = bitPos
subexpr match {
- case `data` => NodeInfo.UnsignedByte
- case `bitPos` => NodeInfo.UnsignedByte
+ case `dataValue` => NodeInfo.UnsignedByte
+ case `bitPosValue` => NodeInfo.UnsignedByte
Review Comment:
That's correct...it complains that `data` and `bitPos` are not stable
values. ChatGPT says backticks can no longer be used by instance variables
which data and bitPos fall under
--
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]