MSIR.0868 Invalid %this reference -- class (classname) not constructed

From m204wiki
Revision as of 20:41, 23 April 2014 by JAL (talk | contribs)
Jump to navigation Jump to search

An implicit or explicit reference to %this was found in an extension class constructor, but not all base classes had a Construct statement for them yet. Implicit references to %this are any reference to a class member name (variable or method) with just the name after a percent sign (for example, %foo referring to the Foo method in the class). References to class variables or methods are not allowed until all base classes have been Constructed.

This problem might be caused by a missing Construct statement for a base class. If that's not the case, but the Construct follows the %this reference, it might be possible to move the %this reference after the base class Construct. For more information, see Inheritance and constructors.