Lucee too rigorous with its type coercion in boolean expressions

Description

Full write-up here: http://blog.adamcameron.me/2015/05/lucee-seems-to-mess-up-boolean.html

Repro:

Expected:

Actual:

The "expected" is based on my own expectations (and requirements, in the given situation), plus ColdFusion delivers on the expectation. As does JS and Python. Groovy matches Lucee's behaviour.

I think Lucee should match CF here. I think it's overstretching itself by doing the full type coercion, as information is lost.

Assignee

Michael Offner

Reporter

Adam Cameron

Labels

None

Affects versions

Priority

Minor
Configure