Bug #39865

Work Package #48275: TypoScript consistency

create proper prototype inheritance

Added by Sebastian Kurfuerst 9 months ago. Updated 1 day ago.

Status:Under Review Start date:2012-08-16
Priority:Must have Due date:
Assignee:Sebastian Kurfuerst % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Imagine:


prototype(Matcher)
prototype(SpecializedMatcher) < prototype(Matcher)

prototype(SomeCaseStatement) < prototype(Case) {
    # Question: What to do if "matcher.x" is an extension of Matcher? how do we change the prototype for ALL matchers then?
    # - Idea: remember "inherited" types
    prototype(Matcher).@override {
        identifier = ${identifierPrefix + '.' + name}
    }

    foo = SpecializedMatcher
    # now, as foo is a subtype of Matcher, the @override from above should also apply for here :-)
    # however, this does not happen right now, and implementing it would probably be difficult...

History

Updated by Gerrit Code Review 4 months ago

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17573

Updated by Sebastian Kurfuerst 4 months ago

  • Status changed from New to Under Review
  • Assignee set to Sebastian Kurfuerst
  • Priority changed from Should have to Must have

Updated by Sebastian Kurfuerst 8 days ago

  • Parent task set to #48275

Updated by Gerrit Code Review 1 day ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17573

Updated by Gerrit Code Review 1 day ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17573

Also available in: Atom PDF