check variables scope before queries depending on scopeCascading in .cfm files

Description

queries are checked for unscoped variables before the variables scope in .cfm files, in functions the local scope is checked first

the existing rules are as per this test https://github.com/lucee/Lucee/pull/1528

when scope cascading isn't standard, i.e small or strict, perhaps the variables scope could be checked first?

Activity

Details

Assignee

Reporter

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

Priority

Created 20 January 2022 at 18:02
Updated 18 June 2023 at 16:53