2006-04-14

Report-an-Apple-bug Friday! 27

This bug is NSViewAnimation documented as inheriting from itself. It was filed on 2006-04-14 at 23:21 PDT.


Summary:

The infobox at the top of the NSViewAnimation reference gives a cyclic inheritance path.

Steps to Reproduce:

  1. Go to the NSViewAnimation reference.

Expected Results:

The infobox at the top says that NSViewAnimation inherits from NSAnimation inherits from NSObject.

Actual Results:

The infobox at the top says that NSViewAnimation inherits from NSViewAnimation inherits from NSAnimation.

Regression:

None known.

Notes:

As documented, NSViewAnimation inherits from both itself and NSAnimation. This is both cyclic inheritance and multiple inheritance, and both are illegal in Objective-C.

Also, NSAnimation is the last (highest) in the list, rather than NSObject, which means that NSAnimation is a root class.


Technorati tags: ,

0 comments:

Post a Comment

<< Home