Status/Resolution/Reason: Closed/Fixed/Duplicate
Reporter/Name(from Bugbase): Aaron Neff / ()
Created: 05/20/2018
Components: Language, Null Support
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) / NA
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Platforms All
Vote Count: 0
Issue: local scope has THIS in .cfm
Steps to Reproduce:
1) Enable NULL support
2) Run in a .cfm:
<cfscript>
function f() {
return local
}
writeDump(f())
</cfscript>
Actual Result (with NULL support enabled):
-----------
struct
ARGUMENTS: [struct]
THIS: [null]
-----------
Expected Result (and actual result with NULL support disabled):
-----------
struct
ARGUMENTS: [struct]
-----------
Related post: http://blog.cfaether.com/2018/05/local-scope-has-this-in-cfm.html
Attachments:
Comments: