You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2021/01/21 21:14:00 UTC

[jira] [Commented] (DAFFODIL-1865) Should identify an invalid index (-1)

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

Mike Beckerle commented on DAFFODIL-1865:
-----------------------------------------

Not a bug. Should remove the test.

> Should identify an invalid index (-1)
> -------------------------------------
>
>                 Key: DAFFODIL-1865
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1865
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 2.0.0
>            Reporter: Taylor Wise
>            Priority: Minor
>
> Test: test_array_IndexOutOfBounds_04
> We should statically tell that -1 is an invalid index for an expression.  We should be able to error on this 'negative' index without testing that the element exists.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)