Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Created May 16, 2022 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamcameron/e4bd8592a047def27a4455627704d248 to your computer and use it in GitHub Desktop.
Save adamcameron/e4bd8592a047def27a4455627704d248 to your computer and use it in GitHub Desktop.
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