tracker issue : CF-3038078

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

Bug 76334:(Watson Migration Closure)Inline Functions should be supported for callbacks and future extensions

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Elliott Sprehn / Elliott Sprehn (Elliott Sprehn)

Created: 04/02/2009

Components: Language

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 2

Problem:

Inline Functions should be supported for callbacks and future extensions.

variables.func = function(a,b) returntype="numeric" {
  return a + b;
}

cb = new Callback(function(event) {
 return event.name;
});

This would make writing dynamic event handlers in CF significantly easier.
Method:


Result:

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

Watson Bug ID:	3038078

External Customer Info:
External Company:  
External Customer Name: Elliott Sprehn
External Customer Email: 202D59C844579997992016B7
External Test Config: 04/02/2009

Attachments:

Comments:

+1 vote. I've had use for these in the past, on a number of occasions. I've previously just "made done" with private functions, but it's not ideal. Good E/R. -- Adam
Vote by External U.
23818 | November 10, 2011 07:19:16 PM GMT
This bug has been voted..
Vote by External U.
23819 | November 10, 2011 07:19:16 PM GMT