tracker issue : CF-4031968

select a category, or use search below
(searches all categories and all time range)
Title:

Scope look-up order is wrong in functions

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

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

Duplicate ID:	CF-4031746

See this: http://blog.adamcameron.me/2015/08/coldfusion-its-hard-to-maintain-cf-docs.html

TL;DR:
Arguments are found before local variables when doing a scopeless variable scope lookup.

This contravenes the docs and common sense.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4031968

External Customer Info:
External Company:  
External Customer Name: Adam
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

+1 - local variables should always be found before arguments, during the scopeless lookup
Vote by External U.
6360 | August 17, 2015 03:34:40 AM GMT