tracker issue : CF-3191742

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

Make Owner scope explicit so that we can scope the variables correctly?

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/EnhancementRequired

Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)

Created: 05/16/2012

Components: Language, Closures

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Public Beta /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 10

Problem Description: variables in closure cannot be scoped because Owner scope is implicit.  Performance could be an issue with excessive scope searching, especially in a tight loop.

See discussion at: http://stackoverflow.com/questions/10604166/how-to-scope-closures-variables-in-cf10

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

Watson Bug ID:	3191742

External Customer Info:
External Company:  
External Customer Name: henrylearn2rock
External Customer Email:

Attachments:

Comments:

btw, the Build should have Final Release for CF 10.0.
Comment by External U.
19452 | May 16, 2012 11:07:18 AM GMT
Agree, should be possible to scope variables in any situation in CF. -- Adam
Vote by External U.
19454 | May 17, 2012 04:12:31 AM GMT
Agree. Should be able to directly specify the scope for any variable.
Vote by External U.
19455 | July 20, 2015 10:26:00 AM GMT
Agree. Should be able to directly specify the scope for any variable.
Vote by External U.
19456 | November 06, 2015 10:30:28 AM GMT
This is probably about due for another re-evaluation, innit?
Comment by External U.
19453 | November 07, 2015 01:08:45 AM GMT
Agree. Should be able to directly specify the scope for any variable.
Vote by External U.
19457 | November 07, 2015 11:03:38 AM GMT
+1 - This should be re-evaluated.
Vote by External U.
19458 | November 08, 2015 09:57:23 PM GMT