jadams-tresys commented on code in PR #1455:
URL: https://github.com/apache/daffodil/pull/1455#discussion_r1992501055


##########
daffodil-core/src/main/scala/org/apache/daffodil/core/grammar/ElementBaseGrammarMixin.scala:
##########
@@ -179,7 +179,7 @@ trait ElementBaseGrammarMixin
         prefixLengthType
       )
       schemaDefinitionWhen(
-        detachedElementDecl.alignment != 1,
+        detachedElementDecl.alignment.asInstanceOf[Int] != 1,

Review Comment:
   The asInstanceOf call is a setting off my code smell senses, but it looks 
like its necessary given how AlignmentType is defined using AnyRef.



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