[
https://issues.apache.org/jira/browse/GROOVY-10726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582521#comment-17582521
]
Paul King edited comment on GROOVY-10726 at 8/21/22 11:57 AM:
--------------------------------------------------------------
False alarm. I had forgotten that we store in RangeInfo "to + 1" so that it can
be directly used in e.g. subList. I added some extra tests to make that more
obvious.
was (Author: paulk):
False alarm. I had forgotten that we store in RangeInfo "to + 1" so that it can
be directly used in e.g. subList.
> IntRange#subListBorders gives incorrect values for certain exclusive ranges
> ---------------------------------------------------------------------------
>
> Key: GROOVY-10726
> URL: https://issues.apache.org/jira/browse/GROOVY-10726
> Project: Groovy
> Issue Type: Bug
> Reporter: Paul King
> Priority: Major
>
> We add one instead of subtract one for particular cases.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)