13e2a3ae94
Fixes #KT-58918 If the serializable class contains itself as a generic parameter of the property, and its serializer is not an object (for example, for a sealed class), in this case there is a race in the initialization of the serializer and child serializers. Merge-request: KT-MR-10363 Merged-by: Sergey Shanshin <Sergey.Shanshin@jetbrains.com>