tracker issue : CF-3756524

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

Remove "Routines cannot be declared more than once" restriction

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/EnhancementRequired

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 05/07/2014

Components: Language

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / Few users will encounter

Locale/System: ALL / Platforms All

Vote Count: 0

Related Bugs:
CF-3756518 - Similar to

There's simply no need for it. Railo allows one to redefine an earlier defined function no problem, so I cannot see why ColdFusion enforces this.

Raising it as a bug as it seems like a poor design decision in the first place, whether you intended to do it or no.


PS: I'm sure I have raised this before, but cannot find the ticket.

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

Watson Bug ID:	3756524

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



The reason it has been implemented like this in the language is because the language today does not have the concept of method overloading. Changing it to enhancement and deferring it for the time being. It will be looked at when we revisit language and its complete OO-ness. Related bug : CF-3756518
Comment by Rupesh K.
12276 | May 11, 2014 08:53:42 PM GMT
Can this be reopened now pls?
Comment by External U.
12277 | February 16, 2015 11:19:21 PM GMT
Not planned for this release.
Comment by Rupesh K.
12278 | February 17, 2015 01:35:51 AM GMT