MSIR.0871 Error compiling implied Construct of class (classname) for class (classname): Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
mNo edit summary |
||
Line 1: | Line 1: | ||
At the end of the Public block for an extension class, an implied constructor is generated if the Public block did not contain < | At the end of the Public block for an extension class, an implied constructor is generated if the Public block did not contain <var>Disallow New</var>. This implied constructor simply contains a Construct statement for the New method of each base class. | ||
The most likely cause of this error is that one of the base class New constructors has one or more required parameters. Either remove or make optional the base class constructor parameters, or write an explicit extension class constructor that passes the appropriate parameters to the base class constructor. | |||
[[Category:Sirius Mods messages]] | [[Category:Sirius Mods messages]] |
Revision as of 20:42, 23 April 2014
At the end of the Public block for an extension class, an implied constructor is generated if the Public block did not contain Disallow New. This implied constructor simply contains a Construct statement for the New method of each base class.
The most likely cause of this error is that one of the base class New constructors has one or more required parameters. Either remove or make optional the base class constructor parameters, or write an explicit extension class constructor that passes the appropriate parameters to the base class constructor.