ListLast() is missing the count argument

Description

ListFirst() has a count argument which specifies how many items to return, with a default value of 1.

ListLast() is missing that argument and is therefore incompatible, leading to a confusing API.

Activity

Pothys - MitrahSoft 13 March 2018 at 08:26

I've added test case for this ticket. In listFirst() we have count argument to specifies how many items to return from the beginning of the list but listlast() doesn't have count arguments

Pull Request: https://github.com/lucee/Lucee/pull/414

Fixed

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Fix versions

Priority

Created 12 March 2018 at 03:03
Updated 17 April 2018 at 23:12
Resolved 17 April 2018 at 23:12