MSIR.0861 Class (classname) repeatedly extended

From m204wiki
Revision as of 16:07, 13 August 2015 by JALWiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

A class declaration extended two classes that each extended the same class. This is often (though not always) indicative of an error in the class hierarchy. For example, say the error occurs when class X tries to extend classes D and E which both extend class A. The problem might be corrected by these steps:

  1. Create classes B and C so that class D extends B and A, and class E extends C and A.
  2. Make class X extend classes C, B, and A.

For more information, see Repeat inheritance.