slice() method is broken for lists
Bug #1587509 reported by
Konstantin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
YAQL |
Fix Released
|
High
|
Konstantin |
Bug Description
Steps to reproduce
* Open yaql console
* Type:
[1,2,3].slice(2)
Expected result:
[
[
0,
1
],
[
2
]
]
Observed result:
yaql> [1,2,3].slice(2)
Execution exception: Collection length exceeds 100 elements
Changed in yaql: | |
importance: | Undecided → High |
milestone: | none → 1.1.1 |
assignee: | nobody → Konstantin (ksnihyr) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/323466 /git.openstack. org/cgit/ openstack/ yaql/commit/ ?id=9a5c03a90cc b443de37de872a9 96d810733b55c4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a5c03a90ccb443 de37de872a996d8 10733b55c4
Author: Konstantin Snihyr <email address hidden>
Date: Tue May 31 18:53:13 2016 +0300
Extend .slice() method implementation to all Iterables
Change-Id: I599019ea11a597 98d131236e89ee5 7097b8c196e
Closes-bug: #1587509