You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/05/12 13:00:00 UTC
[jira] [Closed] (DAFFODIL-1865) Should identify an invalid index
(-1)
[ https://issues.apache.org/jira/browse/DAFFODIL-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Thompson closed DAFFODIL-1865.
-----------------------------------
Verified the specified commit (commit ed870f2fc1d919fff981f00af1687dec1ca49e1b) is included in the latest pull from the daffodil repository.
Verified the test has been removed.
> 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
> Assignee: Mike Beckerle
> Priority: Minor
> Labels: beginner
> Fix For: 3.1.0
>
>
> 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)