Cannot set calling scope vars from closures when localMode="modern"

Description

Consider this code:

In application.cfc, when this.localMode="modern", the test fails to persist the change made to myVar. When turned off, it works as expected.

Environment

None

Assignee

Michael Offner

Reporter

JP

Priority

Major

Labels

None

Fix versions

None

Affects versions

Configure