Bug in Overloaded Record Constructor
<h3><details><summary>Original Reporter info from Mantis: <small>Xor-el</small></summary><small> - **Reporter name:** Ugochukwu Mmaduekwe </small></details></h3> ## Description: If a record constructor is overloaded and one of the overloaded constructor calls<br/> the other, the result of reference types assigned in the constructor eg( string, classes, arrays etc) gets set to their default state eg( string = '', class = Nil, dynamic array = Nil). ## Steps to reproduce: Just compile and run the attached code ## Additional information: This was tested on Windows 10 Expected Result in accordance to Delphi is 9<br/> kingkong<br/> 3<br/> 9<br/> kingkong<br/> 3 while FPC gives 9<br/> kingkong<br/> 3<br/> 9 0 ## Mantis conversion info: - **Mantis ID:** 33006 - **Version:** 3.0.0 - **Monitored by:** » Xor-el (Ugochukwu Mmaduekwe)
issue