Variable assignment is suppressed / swallowed as part of Function call.

Description

If you attempt to assign a value as part of a Function invocation, the assignment is suppressed / swallowed and the attempt to use the value throws an error. You can reproduce this easily:

I have also documented this and the output of the above snippet here: https://www.bennadel.com/blog/3662-possible-bug-variable-assignment-gets-swallowed-by-function-invocation-in-lucee-5-3-2-77.htm

Environment

I'm using Lucee 5.3.2.77 as part of CommandBox.

Status

Assignee

Unassigned

Reporter

Ben Nadel

Labels

None

Affects versions

5.3.2.77

Priority

New
Configure