Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4068 closed defect (fixed)

Declare mixins incompatible with inherited semantic

Reported by: sjmiles Owned by: sjmiles
Priority: high Milestone:
Component: Core Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


'inherited' mechanism for calling superclass methods doesn't work in mixin chains, or to access a method in a mixin from a subclass.

This is true because the mixin prototypes are lost as their properties are mixed in directly.

Change History (4)

comment:1 Changed 14 years ago by sjmiles

(In [10026]) Implement mixin semantic as an inheritance tree to support robust "inherited", refs #4068. Support improved initializer syntax, including deprecation warning for older style, refs #4069.

comment:2 Changed 14 years ago by sjmiles

Resolution: fixed
Status: newclosed

comment:3 Changed 14 years ago by sjmiles

(In [10028]) Reduce footprint of boilerplate constructor by simplifying closure, refs #4068.

comment:4 Changed 14 years ago by sjmiles

(In [10032]) Don't select a prototype tree for 'inherited' that doesn't contain the target method at all, refs #4068.

Note: See TracTickets for help on using tickets.