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] [Updated] (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 ]
Mike Beckerle updated DAFFODIL-1865:
------------------------------------
Labels: beginner (was: )
> 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
> Labels: beginner
>
> 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)