[ 
https://issues.apache.org/jira/browse/DAFFODIL-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888787#comment-17888787
 ] 

Olabusayo Kilo commented on DAFFODIL-2942:
------------------------------------------

See TestLengthKindExplicit.test_invalidIntBitLengthExpr for a test that 
exercises this code


> Missing return after PE for Out of Range Binary Integers
> --------------------------------------------------------
>
>                 Key: DAFFODIL-2942
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2942
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 3.9.0
>            Reporter: Olabusayo Kilo
>            Priority: Major
>
> We check that the bit length is less than or equal to the specified type 
> width, and if it's not, we do a Parse Error, but we don't return which means 
> we end up doing  extra unnecessary work to parse a number that is too big and 
> then just ignore it. We need to add the return.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to