MSIR.0867 Class (classname) (maybe) not constructed: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
mNo edit summary |
||
Line 1: | Line 1: | ||
A Return statement for a constructor or the End statement ending a constructor was encountered, but no Construct statement was found for one of the base classes. Or, the Construct statements for the base class are in some but not all clauses of an If statement. Or, Construct statements for the base class were in some clauses of an If statement, but that If statement did not have an Else clause. | A <var>Return</var> statement for a constructor or the <var>End</var> statement ending a constructor was encountered, but no <var>Construct</var> statement was found for one of the base classes. Or, the <var>Construct</var> statements for the base class are in some but not all clauses of an <var>If</var> statement. Or, <var>Construct</var> statements for the base class were in some clauses of an <var>If</var> statement, but that If statement did not have an <var>Else</var> clause. | ||
All these conditions indicate that it would be theoretically possible to run the constructor and not <var>Construct</var> all base classes. For more information, see [[Inheritance and polymorphism#Inheritance and constructors|Inheritance and constructors]]. | |||
[[Category:Sirius Mods messages]] | [[Category:Sirius Mods messages]] |
Revision as of 20:38, 23 April 2014
A Return statement for a constructor or the End statement ending a constructor was encountered, but no Construct statement was found for one of the base classes. Or, the Construct statements for the base class are in some but not all clauses of an If statement. Or, Construct statements for the base class were in some clauses of an If statement, but that If statement did not have an Else clause.
All these conditions indicate that it would be theoretically possible to run the constructor and not Construct all base classes. For more information, see Inheritance and constructors.