Currently, statechart variables of a complex type, e.g. a submachine, are not initialized at all in the init method of the statechart. We should explicitly set them to null, as different target languages might treat uninitialized variables differently.
This is also the reason why some multi-statemachine tests for the C++ code generator currently fail.
Currently, statechart variables of a complex type, e.g. a submachine, are not initialized at all in the init method of the statechart. We should explicitly set them to null, as different target languages might treat uninitialized variables differently.
This is also the reason why some multi-statemachine tests for the C++ code generator currently fail.