Title:
Bug 82411:(Watson Migration Closure)I'd like a "final" attribute for CFFUNCTION that when used inside a CFC, disallows the ability for any CFC that extends it to have a function of the same name, overriding it
| View in TrackerStatus/Resolution/Reason: Closed/Deferred/
Reporter/Name(from Bugbase): Adrian Moreno / Adrian Moreno (Adrian Moreno)
Created: 03/11/2010
Components: Language, Functions
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 1
Problem:
I'd like a "final" attribute for CFFUNCTION that when used inside a CFC, disallows the ability for any CFC that extends it to have a function of the same name, overriding it. Basically a Java "final" method: http://java.sun.com/docs/books/tutorial/java/IandI/final.html
Method:
Base.cfc contains method foo(). with attribute final="true" Child.cfc extends Base.cfc. Child.cfc cannot contain a method named foo().
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041138
External Customer Info:
External Company:
External Customer Name: Adrian Moreno
External Customer Email: 66EC5EC044590857992015D5
External Test Config: 03/11/2010
Attachments:
Comments: