Managed Records: Default not Initialized
Summary
The value returned by the Default intrinsic for a managed record, is not managed. I.e. no Initialize nor Finalize is called on it.
System Information
FPC Trunk/Main: f0349b3006c50 Windows 10, x86_64
Steps to reproduce
See attached file. When Default is assigned, an unitialized value is copied into the record, which produces a segfault.
Example Project
What is the expected (correct) behavior?
The result of Default should be an initialized value.