Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Jim Partin repro. Maybe. Dunno.
abstract component {
function init() {
writeOutput("AbstractBase init called<br>")
}
}
abstract component extends=AbstractBase {
function init() {
super.init()
writeOutput("AbstractSpecific init called<br>")
}
}
component extends=AbstractSpecific {
function init() {
super.init()
writeOutput("ChildSpecific init called<br>")
}
}
AbstractBase init called
AbstractSpecific init called
ChildSpecific init called
<cfscript>
o = new ChildSpecific()
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment