Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/05/2015
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Platforms All
Vote Count: 1
See this: http://blog.adamcameron.me/2015/08/coldfusion-its-hard-to-maintain-cf-docs.html
TL;DR:
The scope look-up changes depending on whether arguments are defined in the function signature or not.
Contrast:
function f(x){}
f(x=1);
vs:
function f(){}
f(x=1);
This is daft.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4031972
External Customer Info:
External Company:
External Customer Name: Adam
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: