Array argument types not supported

Description

See attached files. Stick all in one dir and run arraysOfObjectsAsArgs.cfm

Basically this should work:

However Lucee mis-executes this, judging by the error message:

Note that ColdFUsion has a separate bug with this syntax, but it at least works with this version:

Lucee works with neither. It should work with both. The same issue exists with return types of arrays-of-objects, btw.

This is in no way blocking me, and I'm raising it solely so you know about it. Please do not sink time into fixing this if there is other more pressing work to be getting on with.

Environment

None

Attachments

4

Activity

Show:

Adam Cameron 29 July 2015 at 12:43
Edited

Hmmm... I cannot replicate either now (on 4.5 or 5). I might have been misreading the test output? Let's close this, and if I work out WTF I was on about, I'll come back to it.

Adam Cameron 29 July 2015 at 12:36

Will need to check. Gimme 15min.

Michael Offner 29 July 2015 at 12:27

i just saw that seems related and the affected version in that case is 5.0. Is the affected version 5.0?

Michael Offner 29 July 2015 at 12:15

provided testcase gives the expected (right) result.

also our testcase
https://github.com/lucee/Lucee4/blob/master/tests/testcases/tickets/LDEV0461.cfc

works as expected

Cannot Reproduce

Details

Assignee

Reporter

Priority

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

Created 26 July 2015 at 14:19
Updated 21 December 2021 at 19:14
Resolved 29 July 2015 at 12:15